mattermost_client/openapi/models/
channel_stats.rs1#[derive(Clone, Debug, PartialEq, Default, serde::Serialize, serde::Deserialize)]
12pub struct ChannelStats {
13 #[serde(rename = "channel_id", skip_serializing_if = "Option::is_none")]
14 pub channel_id: Option<String>,
15 #[serde(rename = "member_count", skip_serializing_if = "Option::is_none")]
16 pub member_count: Option<i32>,
17}
18
19impl ChannelStats {
20 pub fn new() -> ChannelStats {
21 ChannelStats {
22 channel_id: None,
23 member_count: None,
24 }
25 }
26}