mattermost_rust_client/models/
config_support_settings.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
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct ConfigSupportSettings {
16    #[serde(rename = "TermsOfServiceLink", skip_serializing_if = "Option::is_none")]
17    pub terms_of_service_link: Option<String>,
18    #[serde(rename = "PrivacyPolicyLink", skip_serializing_if = "Option::is_none")]
19    pub privacy_policy_link: Option<String>,
20    #[serde(rename = "AboutLink", skip_serializing_if = "Option::is_none")]
21    pub about_link: Option<String>,
22    #[serde(rename = "HelpLink", skip_serializing_if = "Option::is_none")]
23    pub help_link: Option<String>,
24    #[serde(rename = "ReportAProblemLink", skip_serializing_if = "Option::is_none")]
25    pub report_a_problem_link: Option<String>,
26    #[serde(rename = "SupportEmail", skip_serializing_if = "Option::is_none")]
27    pub support_email: Option<String>,
28}
29
30impl ConfigSupportSettings {
31    pub fn new() -> ConfigSupportSettings {
32        ConfigSupportSettings {
33            terms_of_service_link: None,
34            privacy_policy_link: None,
35            about_link: None,
36            help_link: None,
37            report_a_problem_link: None,
38            support_email: None,
39        }
40    }
41}
42
43