Struct aws_sdk_iam::model::MfaDevice [−][src]
#[non_exhaustive]pub struct MfaDevice {
pub user_name: Option<String>,
pub serial_number: Option<String>,
pub enable_date: Option<DateTime>,
}
Expand description
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_name: Option<String>
The user with whom the MFA device is associated.
serial_number: Option<String>
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
enable_date: Option<DateTime>
The date when the MFA device was enabled for the user.
Implementations
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
The date when the MFA device was enabled for the user.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MfaDevice
impl UnwindSafe for MfaDevice
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