pub struct SentCodeTypeEmailCode {
pub apple_signin_allowed: bool,
pub google_signin_allowed: bool,
pub email_pattern: String,
pub length: i32,
pub reset_available_period: Option<i32>,
pub reset_pending_date: Option<i32>,
}Expand description
Read auth.sentCodeTypeEmailCode docs.
Generated from the following TL definition:
auth.sentCodeTypeEmailCode#f450f59b flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int reset_available_period:flags.3?int reset_pending_date:flags.4?int = auth.SentCodeTypeFields§
§apple_signin_allowed: bool§google_signin_allowed: bool§email_pattern: String§length: i32§reset_available_period: Option<i32>§reset_pending_date: Option<i32>Trait Implementations§
Source§impl Clone for SentCodeTypeEmailCode
impl Clone for SentCodeTypeEmailCode
Source§fn clone(&self) -> SentCodeTypeEmailCode
fn clone(&self) -> SentCodeTypeEmailCode
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 SentCodeTypeEmailCode
impl Debug for SentCodeTypeEmailCode
Source§impl From<SentCodeTypeEmailCode> for SentCodeType
impl From<SentCodeTypeEmailCode> for SentCodeType
Source§fn from(x: SentCodeTypeEmailCode) -> Self
fn from(x: SentCodeTypeEmailCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SentCodeTypeEmailCode
impl Identifiable for SentCodeTypeEmailCode
Source§const CONSTRUCTOR_ID: u32 = 4098946459
const CONSTRUCTOR_ID: u32 = 4098946459
The unique identifier for the type.
Source§impl PartialEq for SentCodeTypeEmailCode
impl PartialEq for SentCodeTypeEmailCode
Source§impl Serializable for SentCodeTypeEmailCode
impl Serializable for SentCodeTypeEmailCode
Source§impl TryFrom<SentCodeType> for SentCodeTypeEmailCode
impl TryFrom<SentCodeType> for SentCodeTypeEmailCode
impl StructuralPartialEq for SentCodeTypeEmailCode
Auto Trait Implementations§
impl Freeze for SentCodeTypeEmailCode
impl RefUnwindSafe for SentCodeTypeEmailCode
impl Send for SentCodeTypeEmailCode
impl Sync for SentCodeTypeEmailCode
impl Unpin for SentCodeTypeEmailCode
impl UnsafeUnpin for SentCodeTypeEmailCode
impl UnwindSafe for SentCodeTypeEmailCode
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