pub enum PremiumGiftCodePaymentOptions {
PremiumGiftCodePaymentOptions(PremiumGiftCodePaymentOptions),
}Variants§
PremiumGiftCodePaymentOptions(PremiumGiftCodePaymentOptions)
Contains a list of options for creating Telegram Premium gift codes
Trait Implementations§
Source§impl Clone for PremiumGiftCodePaymentOptions
impl Clone for PremiumGiftCodePaymentOptions
Source§fn clone(&self) -> PremiumGiftCodePaymentOptions
fn clone(&self) -> PremiumGiftCodePaymentOptions
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<'de> Deserialize<'de> for PremiumGiftCodePaymentOptions
impl<'de> Deserialize<'de> for PremiumGiftCodePaymentOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PremiumGiftCodePaymentOptions
impl PartialEq for PremiumGiftCodePaymentOptions
Source§fn eq(&self, other: &PremiumGiftCodePaymentOptions) -> bool
fn eq(&self, other: &PremiumGiftCodePaymentOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PremiumGiftCodePaymentOptions
Auto Trait Implementations§
impl Freeze for PremiumGiftCodePaymentOptions
impl RefUnwindSafe for PremiumGiftCodePaymentOptions
impl Send for PremiumGiftCodePaymentOptions
impl Sync for PremiumGiftCodePaymentOptions
impl Unpin for PremiumGiftCodePaymentOptions
impl UnwindSafe for PremiumGiftCodePaymentOptions
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