pub struct CredentialEvent {
pub new_expiry: SystemTime,
}Expand description
Credential lifecycle event.
Fired on initial registration and any subsequent renewal (via
Workload::on_credential_renewed), and also used to warn when an
active credential is approaching its expiry (via
Workload::on_credential_expiring).
Fields§
§new_expiry: SystemTimeAbsolute expiry time of the credential that triggered the event.
Trait Implementations§
Source§impl Clone for CredentialEvent
impl Clone for CredentialEvent
Source§fn clone(&self) -> CredentialEvent
fn clone(&self) -> CredentialEvent
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 moreAuto Trait Implementations§
impl Freeze for CredentialEvent
impl RefUnwindSafe for CredentialEvent
impl Send for CredentialEvent
impl Sync for CredentialEvent
impl Unpin for CredentialEvent
impl UnsafeUnpin for CredentialEvent
impl UnwindSafe for CredentialEvent
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