pub struct ParameterDefinition {
pub name: String,
pub param_type: String,
pub required: bool,
pub description: Option<String>,
}
Expand description
Parameter definition for an operation
Fields§
§name: String
§param_type: String
§required: bool
§description: Option<String>
Trait Implementations§
Source§impl Clone for ParameterDefinition
impl Clone for ParameterDefinition
Source§fn clone(&self) -> ParameterDefinition
fn clone(&self) -> ParameterDefinition
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ParameterDefinition
impl RefUnwindSafe for ParameterDefinition
impl Send for ParameterDefinition
impl Sync for ParameterDefinition
impl Unpin for ParameterDefinition
impl UnwindSafe for ParameterDefinition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more