Skip to main content

fastcomments_sdk/client/src/models/
sso_security_level.rs

1/*
2 * fastcomments
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::client::models;
12use serde::{Deserialize, Serialize};
13
14use serde_repr::{Serialize_repr,Deserialize_repr};
15/// 
16#[repr(i64)]
17#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr)]
18pub enum SsoSecurityLevel {
19    Variant0 = 0,
20    Variant1 = 1,
21
22}
23
24impl std::fmt::Display for SsoSecurityLevel {
25    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
26        write!(f, "{}", match self {
27            Self::Variant0 => "0",
28            Self::Variant1 => "1",
29        })
30    }
31}
32impl Default for SsoSecurityLevel {
33    fn default() -> SsoSecurityLevel {
34        Self::Variant0
35    }
36}
37