pub struct ApiParam {
pub name: String,
pub location: ParamLocation,
pub required: bool,
pub schema: Value,
pub description: Option<String>,
}Expand description
A single parameter for an API operation.
Fields§
§name: String§location: ParamLocation§required: bool§schema: Value§description: Option<String>Trait Implementations§
impl StructuralPartialEq for ApiParam
Auto Trait Implementations§
impl Freeze for ApiParam
impl RefUnwindSafe for ApiParam
impl Send for ApiParam
impl Sync for ApiParam
impl Unpin for ApiParam
impl UnsafeUnpin for ApiParam
impl UnwindSafe for ApiParam
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