Struct fusionauth_rust_client::models::user_two_factor_configuration::UserTwoFactorConfiguration
source · pub struct UserTwoFactorConfiguration {
pub methods: Option<Vec<TwoFactorMethod>>,
pub recovery_codes: Option<Vec<String>>,
}
Expand description
UserTwoFactorConfiguration :
Fields§
§methods: Option<Vec<TwoFactorMethod>>
§recovery_codes: Option<Vec<String>>
Implementations§
source§impl UserTwoFactorConfiguration
impl UserTwoFactorConfiguration
sourcepub fn new() -> UserTwoFactorConfiguration
pub fn new() -> UserTwoFactorConfiguration
Trait Implementations§
source§impl Clone for UserTwoFactorConfiguration
impl Clone for UserTwoFactorConfiguration
source§fn clone(&self) -> UserTwoFactorConfiguration
fn clone(&self) -> UserTwoFactorConfiguration
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 UserTwoFactorConfiguration
impl Debug for UserTwoFactorConfiguration
source§impl Default for UserTwoFactorConfiguration
impl Default for UserTwoFactorConfiguration
source§fn default() -> UserTwoFactorConfiguration
fn default() -> UserTwoFactorConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserTwoFactorConfiguration
impl<'de> Deserialize<'de> for UserTwoFactorConfiguration
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 UserTwoFactorConfiguration
impl PartialEq for UserTwoFactorConfiguration
source§fn eq(&self, other: &UserTwoFactorConfiguration) -> bool
fn eq(&self, other: &UserTwoFactorConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserTwoFactorConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for UserTwoFactorConfiguration
impl Send for UserTwoFactorConfiguration
impl Sync for UserTwoFactorConfiguration
impl Unpin for UserTwoFactorConfiguration
impl UnwindSafe for UserTwoFactorConfiguration
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