pub enum StarSubscription {
StarSubscription(StarSubscription),
}Variants§
StarSubscription(StarSubscription)
Contains information about subscription to a channel chat, a bot, or a business account that was paid in Telegram Stars
Trait Implementations§
Source§impl Clone for StarSubscription
impl Clone for StarSubscription
Source§fn clone(&self) -> StarSubscription
fn clone(&self) -> StarSubscription
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 StarSubscription
impl Debug for StarSubscription
Source§impl<'de> Deserialize<'de> for StarSubscription
impl<'de> Deserialize<'de> for StarSubscription
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 StarSubscription
impl PartialEq for StarSubscription
Source§fn eq(&self, other: &StarSubscription) -> bool
fn eq(&self, other: &StarSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StarSubscription
impl Serialize for StarSubscription
impl StructuralPartialEq for StarSubscription
Auto Trait Implementations§
impl Freeze for StarSubscription
impl RefUnwindSafe for StarSubscription
impl Send for StarSubscription
impl Sync for StarSubscription
impl Unpin for StarSubscription
impl UnsafeUnpin for StarSubscription
impl UnwindSafe for StarSubscription
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