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