pub struct ResendCode {
pub phone_number: String,
pub phone_code_hash: String,
pub reason: Option<String>,
}Expand description
Generated from the following TL definition:
auth.resendCode#cae47523 flags:# phone_number:string phone_code_hash:string reason:flags.0?string = auth.SentCodeFields§
§phone_number: String§phone_code_hash: String§reason: Option<String>Trait Implementations§
Source§impl Clone for ResendCode
impl Clone for ResendCode
Source§fn clone(&self) -> ResendCode
fn clone(&self) -> ResendCode
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 ResendCode
impl Debug for ResendCode
Source§impl Identifiable for ResendCode
impl Identifiable for ResendCode
Source§const CONSTRUCTOR_ID: u32 = 3403969827
const CONSTRUCTOR_ID: u32 = 3403969827
The unique identifier for the type.
Source§impl PartialEq for ResendCode
impl PartialEq for ResendCode
Source§impl RemoteCall for ResendCode
impl RemoteCall for ResendCode
Source§impl Serializable for ResendCode
impl Serializable for ResendCode
impl StructuralPartialEq for ResendCode
Auto Trait Implementations§
impl Freeze for ResendCode
impl RefUnwindSafe for ResendCode
impl Send for ResendCode
impl Sync for ResendCode
impl Unpin for ResendCode
impl UnsafeUnpin for ResendCode
impl UnwindSafe for ResendCode
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