pub struct GetStorageStatistics {
pub chat_limit: i32,
}
Expand description
Returns storage usage statistics
Fields§
§chat_limit: i32
Maximum number of chats with the largest storage usage for which separate statistics should be returned. All other chats will be grouped in entries with chat_id == 0. If the chat info database is not used, the chat_limit is ignored and is always set to 0
Trait Implementations§
Source§impl Clone for GetStorageStatistics
impl Clone for GetStorageStatistics
Source§fn clone(&self) -> GetStorageStatistics
fn clone(&self) -> GetStorageStatistics
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 GetStorageStatistics
impl Debug for GetStorageStatistics
Source§impl<'de> Deserialize<'de> for GetStorageStatistics
impl<'de> Deserialize<'de> for GetStorageStatistics
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 Method for GetStorageStatistics
impl Method for GetStorageStatistics
Auto Trait Implementations§
impl Freeze for GetStorageStatistics
impl RefUnwindSafe for GetStorageStatistics
impl Send for GetStorageStatistics
impl Sync for GetStorageStatistics
impl Unpin for GetStorageStatistics
impl UnwindSafe for GetStorageStatistics
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