pub struct ProviderAuthValues(/* private fields */);Expand description
Secret credential values. Debug is redacted and serialization is intentionally unavailable.
Implementations§
Source§impl ProviderAuthValues
impl ProviderAuthValues
pub fn new( values: BTreeMap<AuthFieldName, String>, ) -> Result<Self, ProviderStoreError>
pub fn get(&self, field: &AuthFieldName) -> Option<&str>
pub fn field_names(&self) -> impl ExactSizeIterator<Item = &AuthFieldName>
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for ProviderAuthValues
impl Clone for ProviderAuthValues
Source§fn clone(&self) -> ProviderAuthValues
fn clone(&self) -> ProviderAuthValues
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 ProviderAuthValues
impl Debug for ProviderAuthValues
impl Eq for ProviderAuthValues
Source§impl PartialEq for ProviderAuthValues
impl PartialEq for ProviderAuthValues
Source§fn eq(&self, other: &ProviderAuthValues) -> bool
fn eq(&self, other: &ProviderAuthValues) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderAuthValues
Auto Trait Implementations§
impl Freeze for ProviderAuthValues
impl RefUnwindSafe for ProviderAuthValues
impl Send for ProviderAuthValues
impl Sync for ProviderAuthValues
impl Unpin for ProviderAuthValues
impl UnsafeUnpin for ProviderAuthValues
impl UnwindSafe for ProviderAuthValues
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