Skip to main content

tapis_apps/models/
runtime_option_enum.rs

1/*
2 * Tapis Applications API
3 *
4 * The Tapis Applications API provides for management of Tapis applications including permissions.
5 *
6 * The version of the OpenAPI document: 25Q4.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 RuntimeOptionEnum {
18    #[serde(rename = "NONE")]
19    #[default]
20    None,
21    #[serde(rename = "SINGULARITY_RUN")]
22    SingularityRun,
23}
24
25impl std::fmt::Display for RuntimeOptionEnum {
26    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
27        match self {
28            Self::None => write!(f, "NONE"),
29            Self::SingularityRun => write!(f, "SINGULARITY_RUN"),
30        }
31    }
32}