pub enum StarPaymentOption {
StarPaymentOption(StarPaymentOption),
}Variants§
StarPaymentOption(StarPaymentOption)
Describes an option for buying Telegram Stars. Use telegramPaymentPurposeStars for out-of-store payments
Trait Implementations§
Source§impl Clone for StarPaymentOption
impl Clone for StarPaymentOption
Source§fn clone(&self) -> StarPaymentOption
fn clone(&self) -> StarPaymentOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StarPaymentOption
impl Debug for StarPaymentOption
Source§impl<'de> Deserialize<'de> for StarPaymentOption
impl<'de> Deserialize<'de> for StarPaymentOption
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 StarPaymentOption
impl PartialEq for StarPaymentOption
Source§fn eq(&self, other: &StarPaymentOption) -> bool
fn eq(&self, other: &StarPaymentOption) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StarPaymentOption
impl Serialize for StarPaymentOption
impl StructuralPartialEq for StarPaymentOption
Auto Trait Implementations§
impl Freeze for StarPaymentOption
impl RefUnwindSafe for StarPaymentOption
impl Send for StarPaymentOption
impl Sync for StarPaymentOption
impl Unpin for StarPaymentOption
impl UnsafeUnpin for StarPaymentOption
impl UnwindSafe for StarPaymentOption
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