pub struct InputStorePaymentAuthCode {
pub restore: bool,
pub phone_number: String,
pub phone_code_hash: String,
pub currency: String,
pub amount: i64,
}Expand description
Generated from:
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 Deserializable for InputStorePaymentAuthCode
impl Deserializable for InputStorePaymentAuthCode
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<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 = 0x9bb2636d
const CONSTRUCTOR_ID: u32 = 0x9bb2636d
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentAuthCode
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentAuthCode
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
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