pub struct SendCodeResult {
pub existing_user: bool,
pub needs_invite_code: bool,
pub challenge_token: Option<String>,
}Expand description
Response from sending an auth code.
Fields§
§existing_user: boolWhether the contact belongs to an existing user.
needs_invite_code: boolWhether the login flow requires an invite code.
challenge_token: Option<String>Challenge token required by some email verification flows.
Trait Implementations§
Source§impl Clone for SendCodeResult
impl Clone for SendCodeResult
Source§fn clone(&self) -> SendCodeResult
fn clone(&self) -> SendCodeResult
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 SendCodeResult
impl Debug for SendCodeResult
Source§impl<'de> Deserialize<'de> for SendCodeResult
impl<'de> Deserialize<'de> for SendCodeResult
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 SendCodeResult
Source§impl PartialEq for SendCodeResult
impl PartialEq for SendCodeResult
Source§fn eq(&self, other: &SendCodeResult) -> bool
fn eq(&self, other: &SendCodeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendCodeResult
impl Serialize for SendCodeResult
impl StructuralPartialEq for SendCodeResult
Auto Trait Implementations§
impl Freeze for SendCodeResult
impl RefUnwindSafe for SendCodeResult
impl Send for SendCodeResult
impl Sync for SendCodeResult
impl Unpin for SendCodeResult
impl UnsafeUnpin for SendCodeResult
impl UnwindSafe for SendCodeResult
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