pub struct SentCode {
pub type: SentCodeType,
pub phone_code_hash: String,
pub next_type: Option<CodeType>,
pub timeout: Option<i32>,
}Expand description
Generated from the following TL definition:
auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCodeFields§
§type: SentCodeType§phone_code_hash: String§next_type: Option<CodeType>§timeout: Option<i32>Trait Implementations§
Source§impl Deserializable for SentCode
impl Deserializable for SentCode
Source§impl Identifiable for SentCode
impl Identifiable for SentCode
Source§const CONSTRUCTOR_ID: u32 = 1577067778
const CONSTRUCTOR_ID: u32 = 1577067778
The unique identifier for the type.
Source§impl Serializable for SentCode
impl Serializable for SentCode
impl StructuralPartialEq for SentCode
Auto Trait Implementations§
impl Freeze for SentCode
impl RefUnwindSafe for SentCode
impl Send for SentCode
impl Sync for SentCode
impl Unpin for SentCode
impl UnsafeUnpin for SentCode
impl UnwindSafe for SentCode
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