pub struct InputStorePaymentGiftPremium {
pub user_id: InputUser,
pub currency: String,
pub amount: i64,
}Expand description
Generated from:
inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurposeFields§
§user_id: InputUser§currency: String§amount: i64Trait Implementations§
Source§impl Clone for InputStorePaymentGiftPremium
impl Clone for InputStorePaymentGiftPremium
Source§fn clone(&self) -> InputStorePaymentGiftPremium
fn clone(&self) -> InputStorePaymentGiftPremium
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 InputStorePaymentGiftPremium
impl Debug for InputStorePaymentGiftPremium
Source§impl Deserializable for InputStorePaymentGiftPremium
impl Deserializable for InputStorePaymentGiftPremium
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<InputStorePaymentGiftPremium> for InputStorePaymentPurpose
impl From<InputStorePaymentGiftPremium> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentGiftPremium) -> Self
fn from(x: InputStorePaymentGiftPremium) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentGiftPremium
impl Identifiable for InputStorePaymentGiftPremium
Source§const CONSTRUCTOR_ID: u32 = 0x616f7fe8
const CONSTRUCTOR_ID: u32 = 0x616f7fe8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputStorePaymentGiftPremium
impl PartialEq for InputStorePaymentGiftPremium
Source§fn eq(&self, other: &InputStorePaymentGiftPremium) -> bool
fn eq(&self, other: &InputStorePaymentGiftPremium) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentGiftPremium
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentGiftPremium
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStorePaymentGiftPremium
Auto Trait Implementations§
impl Freeze for InputStorePaymentGiftPremium
impl RefUnwindSafe for InputStorePaymentGiftPremium
impl Send for InputStorePaymentGiftPremium
impl Sync for InputStorePaymentGiftPremium
impl Unpin for InputStorePaymentGiftPremium
impl UnsafeUnpin for InputStorePaymentGiftPremium
impl UnwindSafe for InputStorePaymentGiftPremium
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