pub struct InputStorePaymentAuthCode {
pub restore: bool,
pub phone_number: String,
pub phone_code_hash: String,
pub currency: String,
pub amount: i64,
}Expand description
Read inputStorePaymentAuthCode docs.
Generated from the following TL definition:
inputStorePaymentAuthCode#9bb2636d flags:# restore:flags.0?true phone_number:string phone_code_hash:string currency:string amount:long = InputStorePaymentPurposeFields§
§restore: bool§phone_number: String§phone_code_hash: String§currency: String§amount: i64Trait Implementations§
Source§impl Clone for InputStorePaymentAuthCode
impl Clone for InputStorePaymentAuthCode
Source§fn clone(&self) -> InputStorePaymentAuthCode
fn clone(&self) -> InputStorePaymentAuthCode
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 InputStorePaymentAuthCode
impl Debug for InputStorePaymentAuthCode
Source§impl From<InputStorePaymentAuthCode> for InputStorePaymentPurpose
impl From<InputStorePaymentAuthCode> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentAuthCode) -> Self
fn from(x: InputStorePaymentAuthCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentAuthCode
impl Identifiable for InputStorePaymentAuthCode
Source§const CONSTRUCTOR_ID: u32 = 2612159341
const CONSTRUCTOR_ID: u32 = 2612159341
The unique identifier for the type.
impl StructuralPartialEq for InputStorePaymentAuthCode
Auto Trait Implementations§
impl Freeze for InputStorePaymentAuthCode
impl RefUnwindSafe for InputStorePaymentAuthCode
impl Send for InputStorePaymentAuthCode
impl Sync for InputStorePaymentAuthCode
impl Unpin for InputStorePaymentAuthCode
impl UnsafeUnpin for InputStorePaymentAuthCode
impl UnwindSafe for InputStorePaymentAuthCode
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