pub struct SentCodePaymentRequired {
pub store_product: String,
pub phone_code_hash: String,
pub support_email_address: String,
pub support_email_subject: String,
pub premium_days: i32,
pub currency: String,
pub amount: i64,
}Expand description
Generated from:
auth.sentCodePaymentRequired#f8827ebf store_product:string phone_code_hash:string support_email_address:string support_email_subject:string premium_days:int currency:string amount:long = auth.SentCodeFields§
§store_product: String§phone_code_hash: String§support_email_address: String§support_email_subject: String§currency: String§amount: i64Trait Implementations§
Source§impl Clone for SentCodePaymentRequired
impl Clone for SentCodePaymentRequired
Source§fn clone(&self) -> SentCodePaymentRequired
fn clone(&self) -> SentCodePaymentRequired
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SentCodePaymentRequired
impl Debug for SentCodePaymentRequired
Source§impl Deserializable for SentCodePaymentRequired
impl Deserializable for SentCodePaymentRequired
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<SentCodePaymentRequired> for SentCode
impl From<SentCodePaymentRequired> for SentCode
Source§fn from(x: SentCodePaymentRequired) -> Self
fn from(x: SentCodePaymentRequired) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SentCodePaymentRequired
impl Identifiable for SentCodePaymentRequired
Source§const CONSTRUCTOR_ID: u32 = 0xf8827ebf
const CONSTRUCTOR_ID: u32 = 0xf8827ebf
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SentCodePaymentRequired
impl PartialEq for SentCodePaymentRequired
Source§fn eq(&self, other: &SentCodePaymentRequired) -> bool
fn eq(&self, other: &SentCodePaymentRequired) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<SentCode> for SentCodePaymentRequired
impl TryFrom<SentCode> for SentCodePaymentRequired
impl StructuralPartialEq for SentCodePaymentRequired
Auto Trait Implementations§
impl Freeze for SentCodePaymentRequired
impl RefUnwindSafe for SentCodePaymentRequired
impl Send for SentCodePaymentRequired
impl Sync for SentCodePaymentRequired
impl Unpin for SentCodePaymentRequired
impl UnsafeUnpin for SentCodePaymentRequired
impl UnwindSafe for SentCodePaymentRequired
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