pub struct ChannelStats {
pub id: ChannelId,
pub name: String,
pub member_count: usize,
pub message_count: usize,
pub channel_type: ChannelType,
pub created_at: SystemTime,
pub is_empty: bool,
}Expand description
Channel statistics
Fields§
§id: ChannelId§name: String§member_count: usize§message_count: usize§channel_type: ChannelType§created_at: SystemTime§is_empty: boolTrait Implementations§
Source§impl Clone for ChannelStats
impl Clone for ChannelStats
Source§fn clone(&self) -> ChannelStats
fn clone(&self) -> ChannelStats
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 ChannelStats
impl Debug for ChannelStats
Source§impl<'de> Deserialize<'de> for ChannelStats
impl<'de> Deserialize<'de> for ChannelStats
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 ChannelStats
impl RefUnwindSafe for ChannelStats
impl Send for ChannelStats
impl Sync for ChannelStats
impl Unpin for ChannelStats
impl UnwindSafe for ChannelStats
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