#[non_exhaustive]pub enum AuthorizationScheme {
Bearer,
}Expand description
HTTP authorization scheme.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bearer
Trait Implementations§
source§impl Clone for AuthorizationScheme
impl Clone for AuthorizationScheme
source§fn clone(&self) -> AuthorizationScheme
fn clone(&self) -> AuthorizationScheme
Returns a copy 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 AuthorizationScheme
impl Debug for AuthorizationScheme
source§impl Hash for AuthorizationScheme
impl Hash for AuthorizationScheme
source§impl PartialEq for AuthorizationScheme
impl PartialEq for AuthorizationScheme
source§fn eq(&self, other: &AuthorizationScheme) -> bool
fn eq(&self, other: &AuthorizationScheme) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AuthorizationScheme
impl Eq for AuthorizationScheme
impl StructuralPartialEq for AuthorizationScheme
Auto Trait Implementations§
impl Freeze for AuthorizationScheme
impl RefUnwindSafe for AuthorizationScheme
impl Send for AuthorizationScheme
impl Sync for AuthorizationScheme
impl Unpin for AuthorizationScheme
impl UnwindSafe for AuthorizationScheme
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CallHasher for T
impl<T> CallHasher for T
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.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.