Skip to main content

clientapi_pve/models/
pve_cluster_sdn_inline_enum2.rs

1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
5 *
6 * The version of the OpenAPI document: 9.x
7 * 
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 PveClusterSdnInlineEnum2 {
17    #[serde(rename = "le")]
18    Le,
19    #[serde(rename = "ge")]
20    Ge,
21    #[serde(rename = "seq")]
22    Seq,
23
24}
25
26impl std::fmt::Display for PveClusterSdnInlineEnum2 {
27    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
28        match self {
29            Self::Le => write!(f, "le"),
30            Self::Ge => write!(f, "ge"),
31            Self::Seq => write!(f, "seq"),
32        }
33    }
34}
35
36impl Default for PveClusterSdnInlineEnum2 {
37    fn default() -> PveClusterSdnInlineEnum2 {
38        Self::Le
39    }
40}
41