pub enum ApiKeyLocation {
Header,
Query,
Cookie,
Body,
}Expand description
API key location labels.
Variants§
Header
A stable label variant.
Query
A stable label variant.
Cookie
A stable label variant.
Body
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for ApiKeyLocation
impl Clone for ApiKeyLocation
Source§fn clone(&self) -> ApiKeyLocation
fn clone(&self) -> ApiKeyLocation
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 ApiKeyLocation
impl Debug for ApiKeyLocation
Source§impl Default for ApiKeyLocation
impl Default for ApiKeyLocation
Source§impl Display for ApiKeyLocation
impl Display for ApiKeyLocation
Source§impl FromStr for ApiKeyLocation
impl FromStr for ApiKeyLocation
Source§impl Hash for ApiKeyLocation
impl Hash for ApiKeyLocation
Source§impl Ord for ApiKeyLocation
impl Ord for ApiKeyLocation
Source§fn cmp(&self, other: &ApiKeyLocation) -> Ordering
fn cmp(&self, other: &ApiKeyLocation) -> 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 ApiKeyLocation
impl PartialEq for ApiKeyLocation
Source§fn eq(&self, other: &ApiKeyLocation) -> bool
fn eq(&self, other: &ApiKeyLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ApiKeyLocation
impl PartialOrd for ApiKeyLocation
impl Copy for ApiKeyLocation
impl Eq for ApiKeyLocation
impl StructuralPartialEq for ApiKeyLocation
Auto Trait Implementations§
impl Freeze for ApiKeyLocation
impl RefUnwindSafe for ApiKeyLocation
impl Send for ApiKeyLocation
impl Sync for ApiKeyLocation
impl Unpin for ApiKeyLocation
impl UnsafeUnpin for ApiKeyLocation
impl UnwindSafe for ApiKeyLocation
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