pub struct AuthenticatorTotpChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub pending_user: String,
pub pending_user_avatar: String,
pub config_url: String,
}
Expand description
AuthenticatorTotpChallenge : TOTP Setup challenge
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§pending_user: String
§pending_user_avatar: String
§config_url: String
Implementations§
Source§impl AuthenticatorTotpChallenge
impl AuthenticatorTotpChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
config_url: String,
) -> AuthenticatorTotpChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, config_url: String, ) -> AuthenticatorTotpChallenge
TOTP Setup challenge
Trait Implementations§
Source§impl Clone for AuthenticatorTotpChallenge
impl Clone for AuthenticatorTotpChallenge
Source§fn clone(&self) -> AuthenticatorTotpChallenge
fn clone(&self) -> AuthenticatorTotpChallenge
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 Debug for AuthenticatorTotpChallenge
impl Debug for AuthenticatorTotpChallenge
Source§impl Default for AuthenticatorTotpChallenge
impl Default for AuthenticatorTotpChallenge
Source§fn default() -> AuthenticatorTotpChallenge
fn default() -> AuthenticatorTotpChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorTotpChallenge
impl<'de> Deserialize<'de> for AuthenticatorTotpChallenge
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 AuthenticatorTotpChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorTotpChallenge
impl RefUnwindSafe for AuthenticatorTotpChallenge
impl Send for AuthenticatorTotpChallenge
impl Sync for AuthenticatorTotpChallenge
impl Unpin for AuthenticatorTotpChallenge
impl UnwindSafe for AuthenticatorTotpChallenge
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