mattermost_rust_client/models/
data_retention_policy_with_team_and_channel_counts_all_of.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct DataRetentionPolicyWithTeamAndChannelCountsAllOf {
16 #[serde(rename = "team_count", skip_serializing_if = "Option::is_none")]
18 pub team_count: Option<i32>,
19 #[serde(rename = "channel_count", skip_serializing_if = "Option::is_none")]
21 pub channel_count: Option<i32>,
22}
23
24impl DataRetentionPolicyWithTeamAndChannelCountsAllOf {
25 pub fn new() -> DataRetentionPolicyWithTeamAndChannelCountsAllOf {
26 DataRetentionPolicyWithTeamAndChannelCountsAllOf {
27 team_count: None,
28 channel_count: None,
29 }
30 }
31}
32
33