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