Skip to main content

tapis_workflows/models/
enum_builder.rs

1/*
2 * Tapis Workflows API
3 *
4 * Create and manage pipelines
5 *
6 * The version of the OpenAPI document: 1.6.0
7 * Contact: cicsupport@tacc.utexas.edu
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(
15    Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize, Default,
16)]
17pub enum EnumBuilder {
18    #[serde(rename = "kaniko")]
19    #[default]
20    Kaniko,
21    #[serde(rename = "singularity")]
22    Singularity,
23}
24
25impl std::fmt::Display for EnumBuilder {
26    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
27        match self {
28            Self::Kaniko => write!(f, "kaniko"),
29            Self::Singularity => write!(f, "singularity"),
30        }
31    }
32}