/*
* authentik
*
* Making authentication simple.
*
* The version of the OpenAPI document: 2026.5.0-rc2
* Contact: hello@goauthentik.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum FormatEnum {
#[serde(rename = "json")]
Json,
#[serde(rename = "yaml")]
Yaml,
}
impl std::fmt::Display for FormatEnum {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Json => write!(f, "json"),
Self::Yaml => write!(f, "yaml"),
}
}
}
impl Default for FormatEnum {
fn default() -> FormatEnum {
Self::Json
}
}