pub struct CancelCode {
pub phone_number: String,
pub phone_code_hash: String,
}Expand description
Generated from:
auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = BoolFields§
§phone_number: String§phone_code_hash: StringTrait Implementations§
Source§impl Clone for CancelCode
impl Clone for CancelCode
Source§fn clone(&self) -> CancelCode
fn clone(&self) -> CancelCode
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 CancelCode
impl Debug for CancelCode
Source§impl Identifiable for CancelCode
impl Identifiable for CancelCode
Source§const CONSTRUCTOR_ID: u32 = 0x1f040578
const CONSTRUCTOR_ID: u32 = 0x1f040578
The constructor ID as specified in the TL schema.
Source§impl PartialEq for CancelCode
impl PartialEq for CancelCode
Source§impl RemoteCall for CancelCode
impl RemoteCall for CancelCode
Source§impl Serializable for CancelCode
impl Serializable for CancelCode
impl StructuralPartialEq for CancelCode
Auto Trait Implementations§
impl Freeze for CancelCode
impl RefUnwindSafe for CancelCode
impl Send for CancelCode
impl Sync for CancelCode
impl Unpin for CancelCode
impl UnsafeUnpin for CancelCode
impl UnwindSafe for CancelCode
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