Struct aws_sdk_macie2::model::SessionContextAttributes [−][src]
#[non_exhaustive]pub struct SessionContextAttributes {
pub creation_date: Option<DateTime>,
pub mfa_authenticated: bool,
}
Expand description
Provides information about the context in which temporary security credentials were issued to an entity.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.creation_date: Option<DateTime>
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
mfa_authenticated: bool
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
Implementations
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
Creates a new builder-style object to manufacture SessionContextAttributes
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SessionContextAttributes
impl Send for SessionContextAttributes
impl Sync for SessionContextAttributes
impl Unpin for SessionContextAttributes
impl UnwindSafe for SessionContextAttributes
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more