pub struct QueryParamInfo {
pub name: String,
pub required: bool,
pub schema: Option<Schema>,
pub description: Option<String>,
}Expand description
Query parameter information
Fields§
§name: StringParameter name
required: boolWhether parameter is required
schema: Option<Schema>Parameter schema
description: Option<String>Parameter description
Trait Implementations§
Source§impl Clone for QueryParamInfo
impl Clone for QueryParamInfo
Source§fn clone(&self) -> QueryParamInfo
fn clone(&self) -> QueryParamInfo
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 QueryParamInfo
impl RefUnwindSafe for QueryParamInfo
impl Send for QueryParamInfo
impl Sync for QueryParamInfo
impl Unpin for QueryParamInfo
impl UnsafeUnpin for QueryParamInfo
impl UnwindSafe for QueryParamInfo
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