pub struct CredentialRef {
pub name: String,
pub provider: String,
pub last_rotated: Option<DateTime<Utc>>,
}Expand description
Metadata about a single credential reference.
Fields§
§name: StringThe reference name used to look up this credential.
provider: StringWhich provider owns this credential (“file”, “env”, “vault”, etc.).
last_rotated: Option<DateTime<Utc>>When the credential was last rotated, if known.
Trait Implementations§
Source§impl Clone for CredentialRef
impl Clone for CredentialRef
Source§fn clone(&self) -> CredentialRef
fn clone(&self) -> CredentialRef
Returns a duplicate 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 CredentialRef
impl Debug for CredentialRef
Source§impl<'de> Deserialize<'de> for CredentialRef
impl<'de> Deserialize<'de> for CredentialRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CredentialRef
impl RefUnwindSafe for CredentialRef
impl Send for CredentialRef
impl Sync for CredentialRef
impl Unpin for CredentialRef
impl UnsafeUnpin for CredentialRef
impl UnwindSafe for CredentialRef
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