pub struct AuthenticatorStaticChallenge {
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 codes: Vec<String>,
}
Expand description
AuthenticatorStaticChallenge : Static authenticator 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
§codes: Vec<String>
Implementations§
Source§impl AuthenticatorStaticChallenge
impl AuthenticatorStaticChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
codes: Vec<String>,
) -> AuthenticatorStaticChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, codes: Vec<String>, ) -> AuthenticatorStaticChallenge
Static authenticator challenge
Trait Implementations§
Source§impl Clone for AuthenticatorStaticChallenge
impl Clone for AuthenticatorStaticChallenge
Source§fn clone(&self) -> AuthenticatorStaticChallenge
fn clone(&self) -> AuthenticatorStaticChallenge
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 AuthenticatorStaticChallenge
impl Debug for AuthenticatorStaticChallenge
Source§impl Default for AuthenticatorStaticChallenge
impl Default for AuthenticatorStaticChallenge
Source§fn default() -> AuthenticatorStaticChallenge
fn default() -> AuthenticatorStaticChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorStaticChallenge
impl<'de> Deserialize<'de> for AuthenticatorStaticChallenge
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 AuthenticatorStaticChallenge
impl PartialEq for AuthenticatorStaticChallenge
Source§fn eq(&self, other: &AuthenticatorStaticChallenge) -> bool
fn eq(&self, other: &AuthenticatorStaticChallenge) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorStaticChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorStaticChallenge
impl RefUnwindSafe for AuthenticatorStaticChallenge
impl Send for AuthenticatorStaticChallenge
impl Sync for AuthenticatorStaticChallenge
impl Unpin for AuthenticatorStaticChallenge
impl UnwindSafe for AuthenticatorStaticChallenge
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