Struct aws_sdk_iam::model::MfaDevice
source · [−]#[non_exhaustive]pub struct MfaDevice { /* private fields */ }Expand description
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices operation.
Implementations
sourceimpl MfaDevice
impl MfaDevice
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
sourcepub fn enable_date(&self) -> Option<&DateTime>
pub fn enable_date(&self) -> Option<&DateTime>
The date when the MFA device was enabled for the user.
Trait Implementations
impl StructuralPartialEq for MfaDevice
Auto Trait Implementations
impl RefUnwindSafe for MfaDevice
impl Send for MfaDevice
impl Sync for MfaDevice
impl Unpin for MfaDevice
impl UnwindSafe for MfaDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more