mattermost_rust_client/models/
group_with_scheme_admin.rs

1/*
2 * Mattermost API Reference
3 *
4 * There is also a work-in-progress [Postman API reference](https://documenter.getpostman.com/view/4508214/RW8FERUn). 
5 *
6 * The version of the OpenAPI document: 4.0.0
7 * Contact: feedback@mattermost.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// GroupWithSchemeAdmin : group augmented with scheme admin information
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct GroupWithSchemeAdmin {
17    #[serde(rename = "group", skip_serializing_if = "Option::is_none")]
18    pub group: Option<Box<crate::models::Group>>,
19    #[serde(rename = "scheme_admin", skip_serializing_if = "Option::is_none")]
20    pub scheme_admin: Option<bool>,
21}
22
23impl GroupWithSchemeAdmin {
24    /// group augmented with scheme admin information
25    pub fn new() -> GroupWithSchemeAdmin {
26        GroupWithSchemeAdmin {
27            group: None,
28            scheme_admin: None,
29        }
30    }
31}
32
33