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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
impl StructuralPartialEq for AuthenticatorConfiguration
Auto Trait Implementations§
impl Freeze for AuthenticatorConfiguration
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