pub struct EmailVerifyPurposeLoginSetup {
pub phone_number: String,
pub phone_code_hash: String,
}Expand description
Generated from:
emailVerifyPurposeLoginSetup#4345be73 phone_number:string phone_code_hash:string = EmailVerifyPurposeFields§
§phone_number: String§phone_code_hash: StringTrait Implementations§
Source§impl Clone for EmailVerifyPurposeLoginSetup
impl Clone for EmailVerifyPurposeLoginSetup
Source§fn clone(&self) -> EmailVerifyPurposeLoginSetup
fn clone(&self) -> EmailVerifyPurposeLoginSetup
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 EmailVerifyPurposeLoginSetup
impl Debug for EmailVerifyPurposeLoginSetup
Source§impl Deserializable for EmailVerifyPurposeLoginSetup
impl Deserializable for EmailVerifyPurposeLoginSetup
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<EmailVerifyPurposeLoginSetup> for EmailVerifyPurpose
impl From<EmailVerifyPurposeLoginSetup> for EmailVerifyPurpose
Source§fn from(x: EmailVerifyPurposeLoginSetup) -> Self
fn from(x: EmailVerifyPurposeLoginSetup) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EmailVerifyPurposeLoginSetup
impl Identifiable for EmailVerifyPurposeLoginSetup
Source§const CONSTRUCTOR_ID: u32 = 0x4345be73
const CONSTRUCTOR_ID: u32 = 0x4345be73
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EmailVerifyPurposeLoginSetup
impl PartialEq for EmailVerifyPurposeLoginSetup
Source§fn eq(&self, other: &EmailVerifyPurposeLoginSetup) -> bool
fn eq(&self, other: &EmailVerifyPurposeLoginSetup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<EmailVerifyPurpose> for EmailVerifyPurposeLoginSetup
impl TryFrom<EmailVerifyPurpose> for EmailVerifyPurposeLoginSetup
Source§type Error = EmailVerifyPurpose
type Error = EmailVerifyPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for EmailVerifyPurposeLoginSetup
Auto Trait Implementations§
impl Freeze for EmailVerifyPurposeLoginSetup
impl RefUnwindSafe for EmailVerifyPurposeLoginSetup
impl Send for EmailVerifyPurposeLoginSetup
impl Sync for EmailVerifyPurposeLoginSetup
impl Unpin for EmailVerifyPurposeLoginSetup
impl UnsafeUnpin for EmailVerifyPurposeLoginSetup
impl UnwindSafe for EmailVerifyPurposeLoginSetup
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