Files
authentik/packages/client-rust/src/models/flow_designation_enum.rs
authentik-automation[bot] ea61e1cf3b root: bump version to 2026.8.0-rc1 (#22167)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
2026-05-08 17:15:32 +00:00

51 lines
1.4 KiB
Rust
Generated

// authentik
//
// Making authentication simple.
//
// The version of the OpenAPI document: 2026.8.0-rc1
// Contact: hello@goauthentik.io
// Generated by: https://openapi-generator.tech
use serde::{Deserialize, Serialize};
use crate::models;
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum FlowDesignationEnum {
#[serde(rename = "authentication")]
Authentication,
#[serde(rename = "authorization")]
Authorization,
#[serde(rename = "invalidation")]
Invalidation,
#[serde(rename = "enrollment")]
Enrollment,
#[serde(rename = "unenrollment")]
Unenrollment,
#[serde(rename = "recovery")]
Recovery,
#[serde(rename = "stage_configuration")]
StageConfiguration,
}
impl std::fmt::Display for FlowDesignationEnum {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Authentication => write!(f, "authentication"),
Self::Authorization => write!(f, "authorization"),
Self::Invalidation => write!(f, "invalidation"),
Self::Enrollment => write!(f, "enrollment"),
Self::Unenrollment => write!(f, "unenrollment"),
Self::Recovery => write!(f, "recovery"),
Self::StageConfiguration => write!(f, "stage_configuration"),
}
}
}
impl Default for FlowDesignationEnum {
fn default() -> FlowDesignationEnum {
Self::Authentication
}
}