pub enum SecurityAuthenticationLocation {
Header,
Query,
Body,
Cookie,
Uri,
}Expand description
The location of security authentication information.
Variants§
Header
The parameter will be given in a header provided by the protocol, with the name of the
header provided by the value of name.
Query
The parameter will be appended to the URI as a query parameter, with the name of the query
parameter provided by name.
Body
The parameter will be provided in the body of the request payload, with the data schema
element used provided by name.
Cookie
The parameter is stored in a cookie identified by the value of name.
Uri
The parameter is embedded in the URI itself, which is encoded in the relevant interaction
using a URI template variable defined by the value of name.
Trait Implementations§
Source§impl Clone for SecurityAuthenticationLocation
impl Clone for SecurityAuthenticationLocation
Source§fn clone(&self) -> SecurityAuthenticationLocation
fn clone(&self) -> SecurityAuthenticationLocation
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 moreSource§impl<'de> Deserialize<'de> for SecurityAuthenticationLocation
impl<'de> Deserialize<'de> for SecurityAuthenticationLocation
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
Source§impl PartialEq for SecurityAuthenticationLocation
impl PartialEq for SecurityAuthenticationLocation
Source§fn eq(&self, other: &SecurityAuthenticationLocation) -> bool
fn eq(&self, other: &SecurityAuthenticationLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SecurityAuthenticationLocation
impl StructuralPartialEq for SecurityAuthenticationLocation
Auto Trait Implementations§
impl Freeze for SecurityAuthenticationLocation
impl RefUnwindSafe for SecurityAuthenticationLocation
impl Send for SecurityAuthenticationLocation
impl Sync for SecurityAuthenticationLocation
impl Unpin for SecurityAuthenticationLocation
impl UnwindSafe for SecurityAuthenticationLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.