Struct aws_sdk_cognitoidentityprovider::operation::associate_software_token::AssociateSoftwareTokenOutput
source · #[non_exhaustive]pub struct AssociateSoftwareTokenOutput {
pub secret_code: Option<String>,
pub session: Option<String>,
/* private fields */
}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.secret_code: Option<String>A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
session: Option<String>The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
Implementations§
source§impl AssociateSoftwareTokenOutput
impl AssociateSoftwareTokenOutput
sourcepub fn secret_code(&self) -> Option<&str>
pub fn secret_code(&self) -> Option<&str>
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
source§impl AssociateSoftwareTokenOutput
impl AssociateSoftwareTokenOutput
sourcepub fn builder() -> AssociateSoftwareTokenOutputBuilder
pub fn builder() -> AssociateSoftwareTokenOutputBuilder
Creates a new builder-style object to manufacture AssociateSoftwareTokenOutput.
Trait Implementations§
source§impl Clone for AssociateSoftwareTokenOutput
impl Clone for AssociateSoftwareTokenOutput
source§fn clone(&self) -> AssociateSoftwareTokenOutput
fn clone(&self) -> AssociateSoftwareTokenOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AssociateSoftwareTokenOutput
impl Debug for AssociateSoftwareTokenOutput
source§impl PartialEq for AssociateSoftwareTokenOutput
impl PartialEq for AssociateSoftwareTokenOutput
source§fn eq(&self, other: &AssociateSoftwareTokenOutput) -> bool
fn eq(&self, other: &AssociateSoftwareTokenOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for AssociateSoftwareTokenOutput
impl RequestId for AssociateSoftwareTokenOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for AssociateSoftwareTokenOutput
Auto Trait Implementations§
impl RefUnwindSafe for AssociateSoftwareTokenOutput
impl Send for AssociateSoftwareTokenOutput
impl Sync for AssociateSoftwareTokenOutput
impl Unpin for AssociateSoftwareTokenOutput
impl UnwindSafe for AssociateSoftwareTokenOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.