Skip to main content

windmill_api/models/
native_service_name.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.618.0
7 * Contact: contact@windmill.dev
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 NativeServiceName {
17    #[serde(rename = "nextcloud")]
18    Nextcloud,
19
20}
21
22impl std::fmt::Display for NativeServiceName {
23    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
24        match self {
25            Self::Nextcloud => write!(f, "nextcloud"),
26        }
27    }
28}
29
30impl Default for NativeServiceName {
31    fn default() -> NativeServiceName {
32        Self::Nextcloud
33    }
34}
35