Enum rust_tdlib::types::ChatStatistics
source · [−]pub enum ChatStatistics {
Channel(ChatStatisticsChannel),
Supergroup(ChatStatisticsSupergroup),
GetChatStatistics(GetChatStatistics),
// some variants omitted
}Expand description
Contains a detailed statistics about a chat
Variants
Channel(ChatStatisticsChannel)
A detailed statistics about a channel chat
Supergroup(ChatStatisticsSupergroup)
A detailed statistics about a supergroup chat
GetChatStatistics(GetChatStatistics)
Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.can_get_statistics == true
Implementations
Trait Implementations
sourceimpl AsRef<ChatStatistics> for ChatStatistics
impl AsRef<ChatStatistics> for ChatStatistics
sourcefn as_ref(&self) -> &ChatStatistics
fn as_ref(&self) -> &ChatStatistics
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatStatistics
impl Clone for ChatStatistics
sourcefn clone(&self) -> ChatStatistics
fn clone(&self) -> ChatStatistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChatStatistics
impl Debug for ChatStatistics
sourceimpl Default for ChatStatistics
impl Default for ChatStatistics
sourceimpl<'de> Deserialize<'de> for ChatStatistics
impl<'de> Deserialize<'de> for ChatStatistics
sourcefn 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
sourceimpl Serialize for ChatStatistics
impl Serialize for ChatStatistics
Auto Trait Implementations
impl RefUnwindSafe for ChatStatistics
impl Send for ChatStatistics
impl Sync for ChatStatistics
impl Unpin for ChatStatistics
impl UnwindSafe for ChatStatistics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more