pub struct InputInvoicePremiumGiftCode {
pub purpose: InputStorePaymentPurpose,
pub option: PremiumGiftCodeOption,
}Expand description
Read inputInvoicePremiumGiftCode docs.
Generated from the following TL definition:
inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoiceFields§
§purpose: InputStorePaymentPurpose§option: PremiumGiftCodeOptionTrait Implementations§
Source§impl Clone for InputInvoicePremiumGiftCode
impl Clone for InputInvoicePremiumGiftCode
Source§fn clone(&self) -> InputInvoicePremiumGiftCode
fn clone(&self) -> InputInvoicePremiumGiftCode
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 InputInvoicePremiumGiftCode
impl Debug for InputInvoicePremiumGiftCode
Source§impl From<InputInvoicePremiumGiftCode> for InputInvoice
impl From<InputInvoicePremiumGiftCode> for InputInvoice
Source§fn from(x: InputInvoicePremiumGiftCode) -> Self
fn from(x: InputInvoicePremiumGiftCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputInvoicePremiumGiftCode
impl Identifiable for InputInvoicePremiumGiftCode
Source§const CONSTRUCTOR_ID: u32 = 2560125965
const CONSTRUCTOR_ID: u32 = 2560125965
The unique identifier for the type.
impl StructuralPartialEq for InputInvoicePremiumGiftCode
Auto Trait Implementations§
impl Freeze for InputInvoicePremiumGiftCode
impl RefUnwindSafe for InputInvoicePremiumGiftCode
impl Send for InputInvoicePremiumGiftCode
impl Sync for InputInvoicePremiumGiftCode
impl Unpin for InputInvoicePremiumGiftCode
impl UnsafeUnpin for InputInvoicePremiumGiftCode
impl UnwindSafe for InputInvoicePremiumGiftCode
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