pub struct Param {
pub wire: String,
pub flag: String,
pub location: Location,
pub required: bool,
pub description: Option<String>,
}Expand description
One input to a generated method.
Fields§
§wire: StringThe name on the wire, used verbatim in the query string or header.
flag: StringThe long-flag or positional name presented to the user.
location: LocationWhere it travels.
required: boolWhether the operation requires it.
description: Option<String>Help text, when the document carries any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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