pub struct ExtractedParameter {
pub name: String,
pub location: String,
pub required: bool,
pub description: Option<String>,
pub schema: Option<Value>,
}Expand description
A parameter extracted from an OpenAPI operation.
Fields§
§name: StringParameter name
location: StringWhere the parameter goes (path, query, header, cookie)
required: boolWhether the parameter is required
description: Option<String>Description
schema: Option<Value>JSON Schema for the parameter
Trait Implementations§
Source§impl Clone for ExtractedParameter
impl Clone for ExtractedParameter
Source§fn clone(&self) -> ExtractedParameter
fn clone(&self) -> ExtractedParameter
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 ExtractedParameter
impl RefUnwindSafe for ExtractedParameter
impl Send for ExtractedParameter
impl Sync for ExtractedParameter
impl Unpin for ExtractedParameter
impl UnsafeUnpin for ExtractedParameter
impl UnwindSafe for ExtractedParameter
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