authentik_client/models/
compatibility_mode_enum.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
16pub enum CompatibilityModeEnum {
17 #[serde(rename = "default")]
18 Default,
19 #[serde(rename = "aws")]
20 Aws,
21 #[serde(rename = "slack")]
22 Slack,
23 #[serde(rename = "sfdc")]
24 Sfdc,
25}
26
27impl std::fmt::Display for CompatibilityModeEnum {
28 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
29 match self {
30 Self::Default => write!(f, "default"),
31 Self::Aws => write!(f, "aws"),
32 Self::Slack => write!(f, "slack"),
33 Self::Sfdc => write!(f, "sfdc"),
34 }
35 }
36}
37
38impl Default for CompatibilityModeEnum {
39 fn default() -> CompatibilityModeEnum {
40 Self::Default
41 }
42}