fusionauth_rust_client/models/
identity_verified_reason.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
17pub enum IdentityVerifiedReason {
18 #[serde(rename = "Skipped")]
19 Skipped,
20 #[serde(rename = "Trusted")]
21 Trusted,
22 #[serde(rename = "Unverifiable")]
23 Unverifiable,
24 #[serde(rename = "Implicit")]
25 Implicit,
26 #[serde(rename = "Pending")]
27 Pending,
28 #[serde(rename = "Completed")]
29 Completed,
30 #[serde(rename = "Disabled")]
31 Disabled,
32 #[serde(rename = "Administrative")]
33 Administrative,
34 #[serde(rename = "Import")]
35 Import,
36
37}
38
39impl std::fmt::Display for IdentityVerifiedReason {
40 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
41 match self {
42 Self::Skipped => write!(f, "Skipped"),
43 Self::Trusted => write!(f, "Trusted"),
44 Self::Unverifiable => write!(f, "Unverifiable"),
45 Self::Implicit => write!(f, "Implicit"),
46 Self::Pending => write!(f, "Pending"),
47 Self::Completed => write!(f, "Completed"),
48 Self::Disabled => write!(f, "Disabled"),
49 Self::Administrative => write!(f, "Administrative"),
50 Self::Import => write!(f, "Import"),
51 }
52 }
53}
54
55impl Default for IdentityVerifiedReason {
56 fn default() -> IdentityVerifiedReason {
57 Self::Skipped
58 }
59}
60