pub struct AuthStartResult {
pub existing_user: bool,
pub needs_invite_code: bool,
pub challenge_token: Option<String>,
}Expand description
Response from sending an Inline login code.
Fields§
§existing_user: boolWhether the contact belongs to an existing user.
needs_invite_code: boolWhether the flow needs an invite code before login can continue.
challenge_token: Option<String>Opaque challenge token required by some email verification flows.
Trait Implementations§
Source§impl Clone for AuthStartResult
impl Clone for AuthStartResult
Source§fn clone(&self) -> AuthStartResult
fn clone(&self) -> AuthStartResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthStartResult
impl Debug for AuthStartResult
Source§impl<'de> Deserialize<'de> for AuthStartResult
impl<'de> Deserialize<'de> for AuthStartResult
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 Eq for AuthStartResult
Source§impl PartialEq for AuthStartResult
impl PartialEq for AuthStartResult
Source§fn eq(&self, other: &AuthStartResult) -> bool
fn eq(&self, other: &AuthStartResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthStartResult
impl Serialize for AuthStartResult
impl StructuralPartialEq for AuthStartResult
Auto Trait Implementations§
impl Freeze for AuthStartResult
impl RefUnwindSafe for AuthStartResult
impl Send for AuthStartResult
impl Sync for AuthStartResult
impl Unpin for AuthStartResult
impl UnsafeUnpin for AuthStartResult
impl UnwindSafe for AuthStartResult
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