pub enum OpenApiParameterLocation {
Path,
Query,
Header,
Cookie,
}Expand description
OpenAPI parameter location labels.
Variants§
Path
A stable label variant.
Query
A stable label variant.
Header
A stable label variant.
Cookie
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for OpenApiParameterLocation
impl Clone for OpenApiParameterLocation
Source§fn clone(&self) -> OpenApiParameterLocation
fn clone(&self) -> OpenApiParameterLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpenApiParameterLocation
impl Debug for OpenApiParameterLocation
Source§impl Default for OpenApiParameterLocation
impl Default for OpenApiParameterLocation
Source§impl Display for OpenApiParameterLocation
impl Display for OpenApiParameterLocation
Source§impl FromStr for OpenApiParameterLocation
impl FromStr for OpenApiParameterLocation
Source§impl Hash for OpenApiParameterLocation
impl Hash for OpenApiParameterLocation
Source§impl Ord for OpenApiParameterLocation
impl Ord for OpenApiParameterLocation
Source§fn cmp(&self, other: &OpenApiParameterLocation) -> Ordering
fn cmp(&self, other: &OpenApiParameterLocation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenApiParameterLocation
impl PartialEq for OpenApiParameterLocation
Source§fn eq(&self, other: &OpenApiParameterLocation) -> bool
fn eq(&self, other: &OpenApiParameterLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpenApiParameterLocation
impl PartialOrd for OpenApiParameterLocation
impl Copy for OpenApiParameterLocation
impl Eq for OpenApiParameterLocation
impl StructuralPartialEq for OpenApiParameterLocation
Auto Trait Implementations§
impl Freeze for OpenApiParameterLocation
impl RefUnwindSafe for OpenApiParameterLocation
impl Send for OpenApiParameterLocation
impl Sync for OpenApiParameterLocation
impl Unpin for OpenApiParameterLocation
impl UnsafeUnpin for OpenApiParameterLocation
impl UnwindSafe for OpenApiParameterLocation
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