pub struct GetChatStatistics { /* private fields */ }
Expand description
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§
Source§impl AsRef<GetChatStatistics> for GetChatStatistics
impl AsRef<GetChatStatistics> for GetChatStatistics
Source§fn as_ref(&self) -> &GetChatStatistics
fn as_ref(&self) -> &GetChatStatistics
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetChatStatistics
impl Clone for GetChatStatistics
Source§fn clone(&self) -> GetChatStatistics
fn clone(&self) -> GetChatStatistics
Returns a copy 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 GetChatStatistics
impl Debug for GetChatStatistics
Source§impl Default for GetChatStatistics
impl Default for GetChatStatistics
Source§fn default() -> GetChatStatistics
fn default() -> GetChatStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetChatStatistics
impl<'de> Deserialize<'de> for GetChatStatistics
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 Serialize for GetChatStatistics
impl Serialize for GetChatStatistics
impl TDChatStatistics for GetChatStatistics
Auto Trait Implementations§
impl Freeze for GetChatStatistics
impl RefUnwindSafe for GetChatStatistics
impl Send for GetChatStatistics
impl Sync for GetChatStatistics
impl Unpin for GetChatStatistics
impl UnwindSafe for GetChatStatistics
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