pub enum HttpAuthentication {
    Basic(HttpBasicAuthentication),
    Bearer(HttpBearerAuthentication),
}Variants§
Basic(HttpBasicAuthentication)
Bearer(HttpBearerAuthentication)
Trait Implementations§
Source§impl Clone for HttpAuthentication
 
impl Clone for HttpAuthentication
Source§fn clone(&self) -> HttpAuthentication
 
fn clone(&self) -> HttpAuthentication
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 Debug for HttpAuthentication
 
impl Debug for HttpAuthentication
Source§impl<'de> Deserialize<'de> for HttpAuthentication
 
impl<'de> Deserialize<'de> for HttpAuthentication
Source§fn deserialize<D>(
    deserializer: D,
) -> Result<HttpAuthentication, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D,
) -> Result<HttpAuthentication, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for HttpAuthentication
 
impl Hash for HttpAuthentication
Source§impl PartialEq for HttpAuthentication
 
impl PartialEq for HttpAuthentication
Source§impl Serialize for HttpAuthentication
 
impl Serialize for HttpAuthentication
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 Eq for HttpAuthentication
impl StructuralPartialEq for HttpAuthentication
Auto Trait Implementations§
impl Freeze for HttpAuthentication
impl RefUnwindSafe for HttpAuthentication
impl Send for HttpAuthentication
impl Sync for HttpAuthentication
impl Unpin for HttpAuthentication
impl UnwindSafe for HttpAuthentication
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