Skip to main content

authentik_client/models/
blueprint_instance_status_enum.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.1
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 BlueprintInstanceStatusEnum {
17    #[serde(rename = "successful")]
18    Successful,
19    #[serde(rename = "warning")]
20    Warning,
21    #[serde(rename = "error")]
22    Error,
23    #[serde(rename = "orphaned")]
24    Orphaned,
25    #[serde(rename = "unknown")]
26    Unknown,
27}
28
29impl std::fmt::Display for BlueprintInstanceStatusEnum {
30    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
31        match self {
32            Self::Successful => write!(f, "successful"),
33            Self::Warning => write!(f, "warning"),
34            Self::Error => write!(f, "error"),
35            Self::Orphaned => write!(f, "orphaned"),
36            Self::Unknown => write!(f, "unknown"),
37        }
38    }
39}
40
41impl Default for BlueprintInstanceStatusEnum {
42    fn default() -> BlueprintInstanceStatusEnum {
43        Self::Successful
44    }
45}