pub struct ResolvedCredential {
pub identity: CredentialIdentity,
pub source: CredentialSource,
pub secret: Option<String>,
pub env_var: Option<String>,
}Expand description
A resolved credential and the source that supplied it.
Fields§
§identity: CredentialIdentityProvider/key identity used for this lookup.
source: CredentialSourceResolution source.
secret: Option<String>Secret material. OAuth sessions that do not expose an API key have no secret here but still report their source.
env_var: Option<String>Environment variable name when the source is environment-backed.
Trait Implementations§
Source§impl Clone for ResolvedCredential
impl Clone for ResolvedCredential
Source§impl Debug for ResolvedCredential
impl Debug for ResolvedCredential
impl Eq for ResolvedCredential
Source§impl PartialEq for ResolvedCredential
impl PartialEq for ResolvedCredential
impl StructuralPartialEq for ResolvedCredential
Auto Trait Implementations§
impl Freeze for ResolvedCredential
impl RefUnwindSafe for ResolvedCredential
impl Send for ResolvedCredential
impl Sync for ResolvedCredential
impl Unpin for ResolvedCredential
impl UnsafeUnpin for ResolvedCredential
impl UnwindSafe for ResolvedCredential
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.