fusionauth_rust_client/models/
maximum_password_age.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct MaximumPasswordAge {
17 #[serde(rename = "days", skip_serializing_if = "Option::is_none")]
18 pub days: Option<i32>,
19 #[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
20 pub enabled: Option<bool>,
21}
22
23impl MaximumPasswordAge {
24 pub fn new() -> MaximumPasswordAge {
26 MaximumPasswordAge {
27 days: None,
28 enabled: None,
29 }
30 }
31}
32