pub struct IdentityCredentialsLookupSecretCode {
pub code: Option<String>,
pub used_at: Option<String>,
}Expand description
IdentityCredentialsLookupSecretCode : Recovery codes can be used once and are invalidated after use.
Fields§
§code: Option<String>A recovery code
used_at: Option<String>Implementations§
Source§impl IdentityCredentialsLookupSecretCode
impl IdentityCredentialsLookupSecretCode
Sourcepub fn new() -> IdentityCredentialsLookupSecretCode
pub fn new() -> IdentityCredentialsLookupSecretCode
Recovery codes can be used once and are invalidated after use.
Trait Implementations§
Source§impl Clone for IdentityCredentialsLookupSecretCode
impl Clone for IdentityCredentialsLookupSecretCode
Source§fn clone(&self) -> IdentityCredentialsLookupSecretCode
fn clone(&self) -> IdentityCredentialsLookupSecretCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IdentityCredentialsLookupSecretCode
impl Default for IdentityCredentialsLookupSecretCode
Source§fn default() -> IdentityCredentialsLookupSecretCode
fn default() -> IdentityCredentialsLookupSecretCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentityCredentialsLookupSecretCode
impl<'de> Deserialize<'de> for IdentityCredentialsLookupSecretCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IdentityCredentialsLookupSecretCode
impl PartialEq for IdentityCredentialsLookupSecretCode
Source§fn eq(&self, other: &IdentityCredentialsLookupSecretCode) -> bool
fn eq(&self, other: &IdentityCredentialsLookupSecretCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IdentityCredentialsLookupSecretCode
Auto Trait Implementations§
impl Freeze for IdentityCredentialsLookupSecretCode
impl RefUnwindSafe for IdentityCredentialsLookupSecretCode
impl Send for IdentityCredentialsLookupSecretCode
impl Sync for IdentityCredentialsLookupSecretCode
impl Unpin for IdentityCredentialsLookupSecretCode
impl UnsafeUnpin for IdentityCredentialsLookupSecretCode
impl UnwindSafe for IdentityCredentialsLookupSecretCode
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