pub struct Parameter { /* private fields */ }Implementations§
Source§impl Parameter
impl Parameter
pub fn in_path(schema: impl Into<SchemaRef>) -> Self
pub fn in_path_optional(schema: impl Into<SchemaRef>) -> Self
pub fn in_query(name: &'static str, schema: impl Into<SchemaRef>) -> Self
pub fn in_query_optional( name: &'static str, schema: impl Into<SchemaRef>, ) -> Self
pub fn in_header(name: &'static str, schema: impl Into<SchemaRef>) -> Self
pub fn in_header_optional( name: &'static str, schema: impl Into<SchemaRef>, ) -> Self
pub fn description(self, description: &'static str) -> Self
pub fn deprecated(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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