pub enum AzureCredential {
BearerToken(String),
}Expand description
An Azure storage credential.
Holds a long-lived secret used to authorize requests against Azure APIs, and must be handled as sensitive material — avoid logging it or otherwise exposing the inner value.
Variants§
BearerToken(String)
An Azure AD OAuth 2.0 bearer token.
The wrapped String is a secret access token; treat it as
confidential and do not log it.
Trait Implementations§
Source§impl Debug for AzureCredential
impl Debug for AzureCredential
impl Eq for AzureCredential
Source§impl PartialEq for AzureCredential
impl PartialEq for AzureCredential
Source§fn eq(&self, other: &AzureCredential) -> bool
fn eq(&self, other: &AzureCredential) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AzureCredential
Auto Trait Implementations§
impl Freeze for AzureCredential
impl RefUnwindSafe for AzureCredential
impl Send for AzureCredential
impl Sync for AzureCredential
impl Unpin for AzureCredential
impl UnsafeUnpin for AzureCredential
impl UnwindSafe for AzureCredential
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<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.