pub struct OperationParam {
pub name: String,
pub location: ParamLocation,
pub required: bool,
pub schema: Option<ReferenceOr<Schema>>,
pub description: Option<String>,
}Expand description
A parsed operation parameter.
Fields§
§name: String§location: ParamLocation§required: bool§schema: Option<ReferenceOr<Schema>>§description: Option<String>Trait Implementations§
Source§impl Clone for OperationParam
impl Clone for OperationParam
Source§fn clone(&self) -> OperationParam
fn clone(&self) -> OperationParam
Returns a duplicate 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 OperationParam
impl RefUnwindSafe for OperationParam
impl Send for OperationParam
impl Sync for OperationParam
impl Unpin for OperationParam
impl UnsafeUnpin for OperationParam
impl UnwindSafe for OperationParam
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