/*
 * rivet-api-public
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2.3.0-rc.11
 * Contact: developer@rivet.gg
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum RunnerConfigVariant {
    #[serde(rename = "serverless")]
    Serverless,
    #[serde(rename = "normal")]
    Normal,

}

impl std::fmt::Display for RunnerConfigVariant {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Serverless => write!(f, "serverless"),
            Self::Normal => write!(f, "normal"),
        }
    }
}

impl Default for RunnerConfigVariant {
    fn default() -> RunnerConfigVariant {
        Self::Serverless
    }
}

