pub enum PremiumGiftCodePaymentOption {
PremiumGiftCodePaymentOption(PremiumGiftCodePaymentOption),
}Variants§
PremiumGiftCodePaymentOption(PremiumGiftCodePaymentOption)
Describes an option for creating Telegram Premium gift codes
Trait Implementations§
Source§impl Clone for PremiumGiftCodePaymentOption
impl Clone for PremiumGiftCodePaymentOption
Source§fn clone(&self) -> PremiumGiftCodePaymentOption
fn clone(&self) -> PremiumGiftCodePaymentOption
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 PremiumGiftCodePaymentOption
impl Debug for PremiumGiftCodePaymentOption
Source§impl<'de> Deserialize<'de> for PremiumGiftCodePaymentOption
impl<'de> Deserialize<'de> for PremiumGiftCodePaymentOption
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 PremiumGiftCodePaymentOption
impl PartialEq for PremiumGiftCodePaymentOption
Source§fn eq(&self, other: &PremiumGiftCodePaymentOption) -> bool
fn eq(&self, other: &PremiumGiftCodePaymentOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PremiumGiftCodePaymentOption
Auto Trait Implementations§
impl Freeze for PremiumGiftCodePaymentOption
impl RefUnwindSafe for PremiumGiftCodePaymentOption
impl Send for PremiumGiftCodePaymentOption
impl Sync for PremiumGiftCodePaymentOption
impl Unpin for PremiumGiftCodePaymentOption
impl UnwindSafe for PremiumGiftCodePaymentOption
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