pub struct AuthStartRequest {
pub contact: String,
pub kind: AuthContactKind,
pub device_name: Option<String>,
}Expand description
Request to send an Inline login code.
Fields§
§contact: StringContact address or phone number.
kind: AuthContactKindContact kind.
device_name: Option<String>Optional human-readable device name.
Trait Implementations§
Source§impl Clone for AuthStartRequest
impl Clone for AuthStartRequest
Source§fn clone(&self) -> AuthStartRequest
fn clone(&self) -> AuthStartRequest
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 AuthStartRequest
impl Debug for AuthStartRequest
Source§impl<'de> Deserialize<'de> for AuthStartRequest
impl<'de> Deserialize<'de> for AuthStartRequest
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 AuthStartRequest
Source§impl PartialEq for AuthStartRequest
impl PartialEq for AuthStartRequest
Source§fn eq(&self, other: &AuthStartRequest) -> bool
fn eq(&self, other: &AuthStartRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthStartRequest
impl Serialize for AuthStartRequest
impl StructuralPartialEq for AuthStartRequest
Auto Trait Implementations§
impl Freeze for AuthStartRequest
impl RefUnwindSafe for AuthStartRequest
impl Send for AuthStartRequest
impl Sync for AuthStartRequest
impl Unpin for AuthStartRequest
impl UnsafeUnpin for AuthStartRequest
impl UnwindSafe for AuthStartRequest
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