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