authentik_rust/models/
user_password_set_request.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2024.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct UserPasswordSetRequest {
15    #[serde(rename = "password")]
16    pub password: String,
17}
18
19impl UserPasswordSetRequest {
20    pub fn new(password: String) -> UserPasswordSetRequest {
21        UserPasswordSetRequest {
22            password,
23        }
24    }
25}
26