pub enum Supergroup {
Supergroup(Supergroup),
}Variants§
Supergroup(Supergroup)
Represents a supergroup or channel with zero or more members (subscribers in the case of channels). From the point of view of the system, a channel is a special kind of a supergroup: only administrators can post and see the list of members, and posts from all administrators use the name and photo of the channel instead of individual names and profile photos. Unlike supergroups, channels can have an unlimited number of subscribers
Trait Implementations§
Source§impl Clone for Supergroup
impl Clone for Supergroup
Source§fn clone(&self) -> Supergroup
fn clone(&self) -> Supergroup
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 Supergroup
impl Debug for Supergroup
Source§impl<'de> Deserialize<'de> for Supergroup
impl<'de> Deserialize<'de> for Supergroup
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 Supergroup
impl PartialEq for Supergroup
Source§impl Serialize for Supergroup
impl Serialize for Supergroup
impl StructuralPartialEq for Supergroup
Auto Trait Implementations§
impl Freeze for Supergroup
impl RefUnwindSafe for Supergroup
impl Send for Supergroup
impl Sync for Supergroup
impl Unpin for Supergroup
impl UnwindSafe for Supergroup
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