windmill-api 1.681.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.681.0
 * Contact: contact@windmill.dev
 * 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 RunnableKind {
    #[serde(rename = "script")]
    Script,
    #[serde(rename = "flow")]
    Flow,

}

impl std::fmt::Display for RunnableKind {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Script => write!(f, "script"),
            Self::Flow => write!(f, "flow"),
        }
    }
}

impl Default for RunnableKind {
    fn default() -> RunnableKind {
        Self::Script
    }
}