pub enum SecurityLocation {
Header,
Query,
Cookie,
}Expand description
HTTP location used by an API-key security scheme.
Variants§
Trait Implementations§
Source§impl Clone for SecurityLocation
impl Clone for SecurityLocation
Source§fn clone(&self) -> SecurityLocation
fn clone(&self) -> SecurityLocation
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 moreimpl Copy for SecurityLocation
Source§impl Debug for SecurityLocation
impl Debug for SecurityLocation
Source§impl<'de> Deserialize<'de> for SecurityLocation
impl<'de> Deserialize<'de> for SecurityLocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecurityLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SecurityLocation
Source§impl PartialEq for SecurityLocation
impl PartialEq for SecurityLocation
Source§impl Serialize for SecurityLocation
impl Serialize for SecurityLocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SecurityLocation
Auto Trait Implementations§
impl Freeze for SecurityLocation
impl RefUnwindSafe for SecurityLocation
impl Send for SecurityLocation
impl Sync for SecurityLocation
impl Unpin for SecurityLocation
impl UnsafeUnpin for SecurityLocation
impl UnwindSafe for SecurityLocation
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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