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
Generated from:
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 Deserializable for SentCodeTypeEmailCode
impl Deserializable for SentCodeTypeEmailCode
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
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 = 0xf450f59b
const CONSTRUCTOR_ID: u32 = 0xf450f59b
The constructor ID as specified in the TL schema.
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
Source§type Error = SentCodeType
type Error = SentCodeType
The type returned in the event of a conversion error.
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