pub enum HttpScheme {
Basic,
Bearer,
Digest,
DPoP,
HOBA,
Mutual,
Negotiate,
OAuth,
SCRAMSHA1,
SCRAMSHA256,
Vapid,
}Expand description
The HTTP Authorization schemes from IANA Authentication Scheme registry.
Variants§
Basic
Basic Authentication Scheme RFC7617.
Bearer
Bearer Authentication Scheme RFC6750.
Digest
Digest Authentication Scheme RFC7616.
DPoP
DPoP Authentication Scheme RFC9449, Section 7.1.
HOBA
HOBA Authentication Scheme RFC7486, Section 3.
Mutual
Mutual Authentication Scheme RFC8120.
Negotiate
Negotiate Authentication Scheme RFC4559, Section 3.
OAuth
OAuth Authentication Scheme RFC5849, Section 3.5.1.
SCRAMSHA1
SCRAM SHA 1 Authentication Scheme RFC7804.
SCRAMSHA256
SCRAM SHA 256 Authentication Scheme RFC7804.
Vapid
Vapid Authentication Scheme RFC8292, Section 3.
Trait Implementations§
Source§impl Clone for HttpScheme
impl Clone for HttpScheme
Source§fn clone(&self) -> HttpScheme
fn clone(&self) -> HttpScheme
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 HttpScheme
impl Debug for HttpScheme
Source§impl Default for HttpScheme
impl Default for HttpScheme
Source§fn default() -> HttpScheme
fn default() -> HttpScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpScheme
impl<'de> Deserialize<'de> for HttpScheme
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 Display for HttpScheme
impl Display for HttpScheme
Source§impl PartialEq for HttpScheme
impl PartialEq for HttpScheme
Source§impl Serialize for HttpScheme
impl Serialize for HttpScheme
impl StructuralPartialEq for HttpScheme
Auto Trait Implementations§
impl Freeze for HttpScheme
impl RefUnwindSafe for HttpScheme
impl Send for HttpScheme
impl Sync for HttpScheme
impl Unpin for HttpScheme
impl UnwindSafe for HttpScheme
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