pub struct SentCodeTypeSetUpEmailRequired {
pub apple_signin_allowed: bool,
pub google_signin_allowed: bool,
}Expand description
auth.sentCodeTypeSetUpEmailRequired
Generated from:
auth.sentCodeTypeSetUpEmailRequired#a5491dea flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true = auth.SentCodeTypeFields§
§apple_signin_allowed: bool§google_signin_allowed: boolTrait Implementations§
Source§impl Clone for SentCodeTypeSetUpEmailRequired
impl Clone for SentCodeTypeSetUpEmailRequired
Source§fn clone(&self) -> SentCodeTypeSetUpEmailRequired
fn clone(&self) -> SentCodeTypeSetUpEmailRequired
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 Deserializable for SentCodeTypeSetUpEmailRequired
impl Deserializable for SentCodeTypeSetUpEmailRequired
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<SentCodeTypeSetUpEmailRequired> for SentCodeType
impl From<SentCodeTypeSetUpEmailRequired> for SentCodeType
Source§fn from(x: SentCodeTypeSetUpEmailRequired) -> Self
fn from(x: SentCodeTypeSetUpEmailRequired) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SentCodeTypeSetUpEmailRequired
impl Identifiable for SentCodeTypeSetUpEmailRequired
Source§const CONSTRUCTOR_ID: u32 = 0xa5491dea
const CONSTRUCTOR_ID: u32 = 0xa5491dea
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SentCodeTypeSetUpEmailRequired
impl PartialEq for SentCodeTypeSetUpEmailRequired
Source§fn eq(&self, other: &SentCodeTypeSetUpEmailRequired) -> bool
fn eq(&self, other: &SentCodeTypeSetUpEmailRequired) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<SentCodeType> for SentCodeTypeSetUpEmailRequired
impl TryFrom<SentCodeType> for SentCodeTypeSetUpEmailRequired
Source§type Error = SentCodeType
type Error = SentCodeType
The type returned in the event of a conversion error.
impl StructuralPartialEq for SentCodeTypeSetUpEmailRequired
Auto Trait Implementations§
impl Freeze for SentCodeTypeSetUpEmailRequired
impl RefUnwindSafe for SentCodeTypeSetUpEmailRequired
impl Send for SentCodeTypeSetUpEmailRequired
impl Sync for SentCodeTypeSetUpEmailRequired
impl Unpin for SentCodeTypeSetUpEmailRequired
impl UnsafeUnpin for SentCodeTypeSetUpEmailRequired
impl UnwindSafe for SentCodeTypeSetUpEmailRequired
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