pub struct AssumedRole {
pub credential: AwsCredential,
pub expiration: DateTime<Utc>,
}Expand description
Session credentials from STS:AssumeRole, with their wall-clock expiry.
Fields§
§credential: AwsCredentialThe session credentials (Debug redacts them).
expiration: DateTime<Utc>When STS says the credentials expire.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssumedRole
impl RefUnwindSafe for AssumedRole
impl Send for AssumedRole
impl Sync for AssumedRole
impl Unpin for AssumedRole
impl UnsafeUnpin for AssumedRole
impl UnwindSafe for AssumedRole
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