fusionauth_rust_client/models/
authentication_threats.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
17pub enum AuthenticationThreats {
18 #[serde(rename = "ImpossibleTravel")]
19 ImpossibleTravel,
20
21}
22
23impl std::fmt::Display for AuthenticationThreats {
24 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
25 match self {
26 Self::ImpossibleTravel => write!(f, "ImpossibleTravel"),
27 }
28 }
29}
30
31impl Default for AuthenticationThreats {
32 fn default() -> AuthenticationThreats {
33 Self::ImpossibleTravel
34 }
35}
36