pub struct AuthenticatorTotpChallengeResponseRequest {
pub component: Option<String>,
pub code: i32,
}
Expand description
AuthenticatorTotpChallengeResponseRequest : TOTP Challenge response, device is set by get_response_instance
Fields§
§component: Option<String>
§code: i32
Implementations§
Source§impl AuthenticatorTotpChallengeResponseRequest
impl AuthenticatorTotpChallengeResponseRequest
Sourcepub fn new(code: i32) -> AuthenticatorTotpChallengeResponseRequest
pub fn new(code: i32) -> AuthenticatorTotpChallengeResponseRequest
TOTP Challenge response, device is set by get_response_instance
Trait Implementations§
Source§impl Clone for AuthenticatorTotpChallengeResponseRequest
impl Clone for AuthenticatorTotpChallengeResponseRequest
Source§fn clone(&self) -> AuthenticatorTotpChallengeResponseRequest
fn clone(&self) -> AuthenticatorTotpChallengeResponseRequest
Returns a duplicate 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 Default for AuthenticatorTotpChallengeResponseRequest
impl Default for AuthenticatorTotpChallengeResponseRequest
Source§fn default() -> AuthenticatorTotpChallengeResponseRequest
fn default() -> AuthenticatorTotpChallengeResponseRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorTotpChallengeResponseRequest
impl<'de> Deserialize<'de> for AuthenticatorTotpChallengeResponseRequest
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 AuthenticatorTotpChallengeResponseRequest
impl PartialEq for AuthenticatorTotpChallengeResponseRequest
Source§fn eq(&self, other: &AuthenticatorTotpChallengeResponseRequest) -> bool
fn eq(&self, other: &AuthenticatorTotpChallengeResponseRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorTotpChallengeResponseRequest
Auto Trait Implementations§
impl Freeze for AuthenticatorTotpChallengeResponseRequest
impl RefUnwindSafe for AuthenticatorTotpChallengeResponseRequest
impl Send for AuthenticatorTotpChallengeResponseRequest
impl Sync for AuthenticatorTotpChallengeResponseRequest
impl Unpin for AuthenticatorTotpChallengeResponseRequest
impl UnwindSafe for AuthenticatorTotpChallengeResponseRequest
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