pub struct SentCodeTypeFirebaseSms {
pub nonce: Option<Vec<u8>>,
pub play_integrity_project_id: Option<i64>,
pub play_integrity_nonce: Option<Vec<u8>>,
pub receipt: Option<String>,
pub push_timeout: Option<i32>,
pub length: i32,
}Expand description
Generated from:
auth.sentCodeTypeFirebaseSms#9fd736 flags:# nonce:flags.0?bytes play_integrity_project_id:flags.2?long play_integrity_nonce:flags.2?bytes receipt:flags.1?string push_timeout:flags.1?int length:int = auth.SentCodeTypeFields§
§nonce: Option<Vec<u8>>§play_integrity_project_id: Option<i64>§play_integrity_nonce: Option<Vec<u8>>§receipt: Option<String>§push_timeout: Option<i32>§length: i32Trait Implementations§
Source§impl Clone for SentCodeTypeFirebaseSms
impl Clone for SentCodeTypeFirebaseSms
Source§fn clone(&self) -> SentCodeTypeFirebaseSms
fn clone(&self) -> SentCodeTypeFirebaseSms
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 SentCodeTypeFirebaseSms
impl Debug for SentCodeTypeFirebaseSms
Source§impl Deserializable for SentCodeTypeFirebaseSms
impl Deserializable for SentCodeTypeFirebaseSms
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<SentCodeTypeFirebaseSms> for SentCodeType
impl From<SentCodeTypeFirebaseSms> for SentCodeType
Source§fn from(x: SentCodeTypeFirebaseSms) -> Self
fn from(x: SentCodeTypeFirebaseSms) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SentCodeTypeFirebaseSms
impl Identifiable for SentCodeTypeFirebaseSms
Source§const CONSTRUCTOR_ID: u32 = 0x009fd736
const CONSTRUCTOR_ID: u32 = 0x009fd736
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SentCodeTypeFirebaseSms
impl PartialEq for SentCodeTypeFirebaseSms
Source§impl TryFrom<SentCodeType> for SentCodeTypeFirebaseSms
impl TryFrom<SentCodeType> for SentCodeTypeFirebaseSms
Source§type Error = SentCodeType
type Error = SentCodeType
The type returned in the event of a conversion error.
impl StructuralPartialEq for SentCodeTypeFirebaseSms
Auto Trait Implementations§
impl Freeze for SentCodeTypeFirebaseSms
impl RefUnwindSafe for SentCodeTypeFirebaseSms
impl Send for SentCodeTypeFirebaseSms
impl Sync for SentCodeTypeFirebaseSms
impl Unpin for SentCodeTypeFirebaseSms
impl UnsafeUnpin for SentCodeTypeFirebaseSms
impl UnwindSafe for SentCodeTypeFirebaseSms
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