pub enum StarSubscriptionType {
Channel(StarSubscriptionTypeChannel),
Bot(StarSubscriptionTypeBot),
}Variants§
Channel(StarSubscriptionTypeChannel)
Describes a subscription to a channel chat
Bot(StarSubscriptionTypeBot)
Describes a subscription in a bot or a business account
Trait Implementations§
Source§impl Clone for StarSubscriptionType
impl Clone for StarSubscriptionType
Source§fn clone(&self) -> StarSubscriptionType
fn clone(&self) -> StarSubscriptionType
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 StarSubscriptionType
impl Debug for StarSubscriptionType
Source§impl<'de> Deserialize<'de> for StarSubscriptionType
impl<'de> Deserialize<'de> for StarSubscriptionType
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 StarSubscriptionType
impl PartialEq for StarSubscriptionType
Source§impl Serialize for StarSubscriptionType
impl Serialize for StarSubscriptionType
impl StructuralPartialEq for StarSubscriptionType
Auto Trait Implementations§
impl Freeze for StarSubscriptionType
impl RefUnwindSafe for StarSubscriptionType
impl Send for StarSubscriptionType
impl Sync for StarSubscriptionType
impl Unpin for StarSubscriptionType
impl UnsafeUnpin for StarSubscriptionType
impl UnwindSafe for StarSubscriptionType
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