pub struct CredentialMetadata {
pub created_at: SystemTime,
pub expires_at: Option<SystemTime>,
pub last_used_at: Option<SystemTime>,
pub last_rotated_at: Option<SystemTime>,
pub access_count: u64,
}Fields§
§created_at: SystemTime§expires_at: Option<SystemTime>§last_used_at: Option<SystemTime>§last_rotated_at: Option<SystemTime>§access_count: u64Trait Implementations§
Source§impl Clone for CredentialMetadata
impl Clone for CredentialMetadata
Source§fn clone(&self) -> CredentialMetadata
fn clone(&self) -> CredentialMetadata
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 CredentialMetadata
impl Debug for CredentialMetadata
Source§impl PartialEq for CredentialMetadata
impl PartialEq for CredentialMetadata
impl Copy for CredentialMetadata
impl Eq for CredentialMetadata
impl StructuralPartialEq for CredentialMetadata
Auto Trait Implementations§
impl Freeze for CredentialMetadata
impl RefUnwindSafe for CredentialMetadata
impl Send for CredentialMetadata
impl Sync for CredentialMetadata
impl Unpin for CredentialMetadata
impl UnwindSafe for CredentialMetadata
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§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.