pub struct ParameterInfo {
pub name: String,
pub location: String,
pub required: bool,
pub schema_ref: Option<String>,
pub rust_type: String,
}Expand description
Information about an operation parameter
Fields§
§name: StringParameter name
location: StringParameter location (path, query, header, cookie)
required: boolWhether the parameter is required
schema_ref: Option<String>Schema reference for the parameter type
rust_type: StringRust type for this parameter
Trait Implementations§
Source§impl Clone for ParameterInfo
impl Clone for ParameterInfo
Source§fn clone(&self) -> ParameterInfo
fn clone(&self) -> ParameterInfo
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 moreSource§impl Debug for ParameterInfo
impl Debug for ParameterInfo
Auto Trait Implementations§
impl Freeze for ParameterInfo
impl RefUnwindSafe for ParameterInfo
impl Send for ParameterInfo
impl Sync for ParameterInfo
impl Unpin for ParameterInfo
impl UnwindSafe for ParameterInfo
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