pub struct InputStorePaymentPremiumGiftCode {
pub users: Vec<InputUser>,
pub boost_peer: Option<InputPeer>,
pub currency: String,
pub amount: i64,
pub message: Option<TextWithEntities>,
}Expand description
Read inputStorePaymentPremiumGiftCode docs.
Generated from the following TL definition:
inputStorePaymentPremiumGiftCode#fb790393 flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long message:flags.1?TextWithEntities = InputStorePaymentPurposeFields§
§users: Vec<InputUser>§boost_peer: Option<InputPeer>§currency: String§amount: i64§message: Option<TextWithEntities>Trait Implementations§
Source§impl Clone for InputStorePaymentPremiumGiftCode
impl Clone for InputStorePaymentPremiumGiftCode
Source§fn clone(&self) -> InputStorePaymentPremiumGiftCode
fn clone(&self) -> InputStorePaymentPremiumGiftCode
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 From<InputStorePaymentPremiumGiftCode> for InputStorePaymentPurpose
impl From<InputStorePaymentPremiumGiftCode> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentPremiumGiftCode) -> Self
fn from(x: InputStorePaymentPremiumGiftCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentPremiumGiftCode
impl Identifiable for InputStorePaymentPremiumGiftCode
Source§const CONSTRUCTOR_ID: u32 = 4219011987
const CONSTRUCTOR_ID: u32 = 4219011987
The unique identifier for the type.
Source§impl PartialEq for InputStorePaymentPremiumGiftCode
impl PartialEq for InputStorePaymentPremiumGiftCode
Source§fn eq(&self, other: &InputStorePaymentPremiumGiftCode) -> bool
fn eq(&self, other: &InputStorePaymentPremiumGiftCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputStorePaymentPremiumGiftCode
Auto Trait Implementations§
impl Freeze for InputStorePaymentPremiumGiftCode
impl RefUnwindSafe for InputStorePaymentPremiumGiftCode
impl Send for InputStorePaymentPremiumGiftCode
impl Sync for InputStorePaymentPremiumGiftCode
impl Unpin for InputStorePaymentPremiumGiftCode
impl UnsafeUnpin for InputStorePaymentPremiumGiftCode
impl UnwindSafe for InputStorePaymentPremiumGiftCode
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