clerk_rs/models/
update_instance_auth_config_200_response.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct UpdateInstanceAuthConfig200Response {
13 #[serde(rename = "object", skip_serializing_if = "Option::is_none")]
15 pub object: Option<Object>,
16 #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
17 pub id: Option<String>,
18 #[serde(rename = "restricted_to_allowlist", skip_serializing_if = "Option::is_none")]
19 pub restricted_to_allowlist: Option<bool>,
20 #[serde(rename = "from_email_address", skip_serializing_if = "Option::is_none")]
21 pub from_email_address: Option<String>,
22 #[serde(rename = "progressive_sign_up", skip_serializing_if = "Option::is_none")]
23 pub progressive_sign_up: Option<bool>,
24 #[serde(rename = "enhanced_email_deliverability", skip_serializing_if = "Option::is_none")]
25 pub enhanced_email_deliverability: Option<bool>,
26}
27
28impl UpdateInstanceAuthConfig200Response {
29 pub fn new() -> UpdateInstanceAuthConfig200Response {
30 UpdateInstanceAuthConfig200Response {
31 object: None,
32 id: None,
33 restricted_to_allowlist: None,
34 from_email_address: None,
35 progressive_sign_up: None,
36 enhanced_email_deliverability: None,
37 }
38 }
39}
40
41#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
43pub enum Object {
44 #[serde(rename = "instance_settings")]
45 InstanceSettings,
46}
47
48impl Default for Object {
49 fn default() -> Object {
50 Self::InstanceSettings
51 }
52}