Skip to main content

authentik_client/models/
compatibility_mode_enum.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2025.8.6
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14///
15#[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}
24
25impl std::fmt::Display for CompatibilityModeEnum {
26    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
27        match self {
28            Self::Default => write!(f, "default"),
29            Self::Aws => write!(f, "aws"),
30            Self::Slack => write!(f, "slack"),
31        }
32    }
33}
34
35impl Default for CompatibilityModeEnum {
36    fn default() -> CompatibilityModeEnum {
37        Self::Default
38    }
39}