pub struct OpenApiParameterSchema<'a> {
pub ref_path: Option<&'a str>,
pub type: Option<&'a str>,
pub enum: Option<Vec<&'a str>>,
pub format: Option<&'a str>,
pub default: Option<OpenApiParameterDefault<'a>>,
pub maximum: Option<i32>,
pub minimum: Option<i32>,
pub items: Option<Box<OpenApiParameterSchema<'a>>>,
}
Fields§
§ref_path: Option<&'a str>
§type: Option<&'a str>
§enum: Option<Vec<&'a str>>
§format: Option<&'a str>
§default: Option<OpenApiParameterDefault<'a>>
§maximum: Option<i32>
§minimum: Option<i32>
§items: Option<Box<OpenApiParameterSchema<'a>>>
Trait Implementations§
Source§impl<'a> Clone for OpenApiParameterSchema<'a>
impl<'a> Clone for OpenApiParameterSchema<'a>
Source§fn clone(&self) -> OpenApiParameterSchema<'a>
fn clone(&self) -> OpenApiParameterSchema<'a>
Returns a copy 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<'a> Debug for OpenApiParameterSchema<'a>
impl<'a> Debug for OpenApiParameterSchema<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for OpenApiParameterSchema<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OpenApiParameterSchema<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for OpenApiParameterSchema<'a>
impl<'a> RefUnwindSafe for OpenApiParameterSchema<'a>
impl<'a> Send for OpenApiParameterSchema<'a>
impl<'a> Sync for OpenApiParameterSchema<'a>
impl<'a> Unpin for OpenApiParameterSchema<'a>
impl<'a> UnwindSafe for OpenApiParameterSchema<'a>
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