exoscale/models/
dbaas_service_opensearch_users_inner.rs

1/*
2 * Exoscale Public API
3 *
4 *  Infrastructure automation API, allowing programmatic access to all Exoscale products and services.  The [OpenAPI Specification](http://spec.openapis.org/oas/v3.0.3.html) source of this documentation can be obtained here:  * [JSON format](https://bump.sh/doc/exoscale-api.json) * [YAML format](https://bump.sh/doc/exoscale-api.yaml)
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: api@exoscale.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct DbaasServiceOpensearchUsersInner {
13    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
14    pub _type: Option<String>,
15    #[serde(rename = "username", skip_serializing_if = "Option::is_none")]
16    pub username: Option<String>,
17    #[serde(rename = "password", skip_serializing_if = "Option::is_none")]
18    pub password: Option<String>,
19}
20
21impl DbaasServiceOpensearchUsersInner {
22    pub fn new() -> DbaasServiceOpensearchUsersInner {
23        DbaasServiceOpensearchUsersInner {
24            _type: None,
25            username: None,
26            password: None,
27        }
28    }
29}