pub struct ChannelInfo {
pub name: String,
pub settings: ChannelSettings,
pub member_count: usize,
pub topic: Option<String>,
pub modes: HashSet<ChannelMode>,
pub stats: ChannelStats,
}Expand description
Channel information summary
Fieldsยง
ยงname: StringChannel name
settings: ChannelSettingsChannel settings
member_count: usizeNumber of members
topic: Option<String>Current topic
modes: HashSet<ChannelMode>Channel modes
stats: ChannelStatsChannel statistics
Trait Implementationsยง
Sourceยงimpl Clone for ChannelInfo
impl Clone for ChannelInfo
Sourceยงfn clone(&self) -> ChannelInfo
fn clone(&self) -> ChannelInfo
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 ChannelInfo
impl Debug for ChannelInfo
Sourceยงimpl<'de> Deserialize<'de> for ChannelInfo
impl<'de> Deserialize<'de> for ChannelInfo
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 ChannelInfo
impl RefUnwindSafe for ChannelInfo
impl Send for ChannelInfo
impl Sync for ChannelInfo
impl Unpin for ChannelInfo
impl UnsafeUnpin for ChannelInfo
impl UnwindSafe for ChannelInfo
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