pub enum ChatStatistics {
Supergroup(ChatStatisticsSupergroup),
Channel(ChatStatisticsChannel),
}
Variants§
Supergroup(ChatStatisticsSupergroup)
A detailed statistics about a supergroup chat
Channel(ChatStatisticsChannel)
A detailed statistics about a channel chat
Trait Implementations§
Source§impl Clone for ChatStatistics
impl Clone for ChatStatistics
Source§fn clone(&self) -> ChatStatistics
fn clone(&self) -> ChatStatistics
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 ChatStatistics
impl Debug for ChatStatistics
Source§impl<'de> Deserialize<'de> for ChatStatistics
impl<'de> Deserialize<'de> for ChatStatistics
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 ChatStatistics
impl PartialEq for ChatStatistics
Source§impl Serialize for ChatStatistics
impl Serialize for ChatStatistics
impl StructuralPartialEq for ChatStatistics
Auto Trait Implementations§
impl Freeze for ChatStatistics
impl RefUnwindSafe for ChatStatistics
impl Send for ChatStatistics
impl Sync for ChatStatistics
impl Unpin for ChatStatistics
impl UnwindSafe for ChatStatistics
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