pub struct SignIn {
pub phone_number: String,
pub phone_code_hash: String,
pub phone_code: Option<String>,
pub email_verification: Option<EmailVerification>,
}Expand description
Generated from the following TL definition:
auth.signIn#8d52a951 flags:# phone_number:string phone_code_hash:string phone_code:flags.0?string email_verification:flags.1?EmailVerification = auth.AuthorizationFields§
§phone_number: String§phone_code_hash: String§phone_code: Option<String>§email_verification: Option<EmailVerification>Trait Implementations§
Source§impl Identifiable for SignIn
impl Identifiable for SignIn
Source§const CONSTRUCTOR_ID: u32 = 2371004753
const CONSTRUCTOR_ID: u32 = 2371004753
The unique identifier for the type.
Source§impl RemoteCall for SignIn
impl RemoteCall for SignIn
Source§type Return = Authorization
type Return = Authorization
The type of the “return” value coming from the other end of the
connection.
Source§impl Serializable for SignIn
impl Serializable for SignIn
impl StructuralPartialEq for SignIn
Auto Trait Implementations§
impl Freeze for SignIn
impl RefUnwindSafe for SignIn
impl Send for SignIn
impl Sync for SignIn
impl Unpin for SignIn
impl UnsafeUnpin for SignIn
impl UnwindSafe for SignIn
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