Skip to main content

mattermost_rust_client/models/
payment_setup_intent.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 PaymentSetupIntent {
16    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
17    pub id: Option<String>,
18    #[serde(rename = "client_secret", skip_serializing_if = "Option::is_none")]
19    pub client_secret: Option<String>,
20}
21
22impl PaymentSetupIntent {
23    pub fn new() -> PaymentSetupIntent {
24        PaymentSetupIntent {
25            id: None,
26            client_secret: None,
27        }
28    }
29}
30
31