pub enum CredentialKind {
Bearer,
Password,
ApiKey,
Session,
Custom(AuthorizationName),
}Expand description
Transport-independent credential category.
Variants§
Bearer
OAuth-style bearer credential.
Password
Username and password credential.
ApiKey
API key credential.
Session
Server-side session credential.
Custom(AuthorizationName)
Application-defined credential category.
Trait Implementations§
Source§impl Clone for CredentialKind
impl Clone for CredentialKind
Source§fn clone(&self) -> CredentialKind
fn clone(&self) -> CredentialKind
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 moreSource§impl Debug for CredentialKind
impl Debug for CredentialKind
impl Eq for CredentialKind
Source§impl PartialEq for CredentialKind
impl PartialEq for CredentialKind
impl StructuralPartialEq for CredentialKind
Auto Trait Implementations§
impl Freeze for CredentialKind
impl RefUnwindSafe for CredentialKind
impl Send for CredentialKind
impl Sync for CredentialKind
impl Unpin for CredentialKind
impl UnsafeUnpin for CredentialKind
impl UnwindSafe for CredentialKind
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