pub struct StorageStatistics {
pub size: i64,
pub count: i32,
pub by_chat: Vec<StorageStatisticsByChat>,
}
Expand description
Contains the exact storage usage statistics split by chats and file type
Fields§
§size: i64
Total size of files
count: i32
Total number of files
by_chat: Vec<StorageStatisticsByChat>
Statistics split by chats
Trait Implementations§
Source§impl Clone for StorageStatistics
impl Clone for StorageStatistics
Source§fn clone(&self) -> StorageStatistics
fn clone(&self) -> StorageStatistics
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 StorageStatistics
impl Debug for StorageStatistics
Source§impl<'de> Deserialize<'de> for StorageStatistics
impl<'de> Deserialize<'de> for StorageStatistics
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
Auto Trait Implementations§
impl Freeze for StorageStatistics
impl RefUnwindSafe for StorageStatistics
impl Send for StorageStatistics
impl Sync for StorageStatistics
impl Unpin for StorageStatistics
impl UnwindSafe for StorageStatistics
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