pub(crate) struct TimedCredentials {
pub(crate) credentials: Route53Credentials,
pub(crate) expires_at: Option<OffsetDateTime>,
}Expand description
A credential read from IMDS, with the moment IMDS says it stops being accepted.
Fields§
§credentials: Route53Credentials§expires_at: Option<OffsetDateTime>None when the response carried no Expiration — a credential that
states no end, and is signed with until the process ends.
Trait Implementations§
Source§impl Clone for TimedCredentials
impl Clone for TimedCredentials
Source§fn clone(&self) -> TimedCredentials
fn clone(&self) -> TimedCredentials
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 TimedCredentials
impl RefUnwindSafe for TimedCredentials
impl Send for TimedCredentials
impl Sync for TimedCredentials
impl Unpin for TimedCredentials
impl UnsafeUnpin for TimedCredentials
impl UnwindSafe for TimedCredentials
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