pub struct AuthenticatorSmsChallenge {
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 phone_number_required: Option<bool>,
}
Expand description
AuthenticatorSmsChallenge : SMS 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
§phone_number_required: Option<bool>
Implementations§
Source§impl AuthenticatorSmsChallenge
impl AuthenticatorSmsChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
) -> AuthenticatorSmsChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, ) -> AuthenticatorSmsChallenge
SMS Setup challenge
Trait Implementations§
Source§impl Clone for AuthenticatorSmsChallenge
impl Clone for AuthenticatorSmsChallenge
Source§fn clone(&self) -> AuthenticatorSmsChallenge
fn clone(&self) -> AuthenticatorSmsChallenge
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 AuthenticatorSmsChallenge
impl Debug for AuthenticatorSmsChallenge
Source§impl Default for AuthenticatorSmsChallenge
impl Default for AuthenticatorSmsChallenge
Source§fn default() -> AuthenticatorSmsChallenge
fn default() -> AuthenticatorSmsChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorSmsChallenge
impl<'de> Deserialize<'de> for AuthenticatorSmsChallenge
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 AuthenticatorSmsChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorSmsChallenge
impl RefUnwindSafe for AuthenticatorSmsChallenge
impl Send for AuthenticatorSmsChallenge
impl Sync for AuthenticatorSmsChallenge
impl Unpin for AuthenticatorSmsChallenge
impl UnwindSafe for AuthenticatorSmsChallenge
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