Struct rusoto_iam::VirtualMFADevice
source · [−]pub struct VirtualMFADevice {
pub base_32_string_seed: Option<Bytes>,
pub enable_date: Option<String>,
pub qr_code_png: Option<Bytes>,
pub serial_number: String,
pub tags: Option<Vec<Tag>>,
pub user: Option<User>,
}
Expand description
Contains information about a virtual MFA device.
Fields
base_32_string_seed: Option<Bytes>
The base32 seed defined as specified in RFC3548. The Base32StringSeed
is base64-encoded.
enable_date: Option<String>
The date and time on which the virtual MFA device was enabled.
qr_code_png: Option<Bytes>
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
where $virtualMFADeviceName
is one of the create call arguments. AccountName
is the user name if set (otherwise, the account ID otherwise), and Base32String
is the seed in base32 format. The Base32String
value is base64-encoded.
serial_number: String
The serial number associated with VirtualMFADevice
.
A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
user: Option<User>
The IAM user associated with this virtual MFA device.
Trait Implementations
sourceimpl Clone for VirtualMFADevice
impl Clone for VirtualMFADevice
sourcefn clone(&self) -> VirtualMFADevice
fn clone(&self) -> VirtualMFADevice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VirtualMFADevice
impl Debug for VirtualMFADevice
sourceimpl Default for VirtualMFADevice
impl Default for VirtualMFADevice
sourcefn default() -> VirtualMFADevice
fn default() -> VirtualMFADevice
Returns the “default value” for a type. Read more
sourceimpl PartialEq<VirtualMFADevice> for VirtualMFADevice
impl PartialEq<VirtualMFADevice> for VirtualMFADevice
sourcefn eq(&self, other: &VirtualMFADevice) -> bool
fn eq(&self, other: &VirtualMFADevice) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VirtualMFADevice) -> bool
fn ne(&self, other: &VirtualMFADevice) -> bool
This method tests for !=
.
impl StructuralPartialEq for VirtualMFADevice
Auto Trait Implementations
impl RefUnwindSafe for VirtualMFADevice
impl Send for VirtualMFADevice
impl Sync for VirtualMFADevice
impl Unpin for VirtualMFADevice
impl UnwindSafe for VirtualMFADevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more