sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// DeploymentTargetEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum DeploymentTargetEnum {
    #[default]
    #[serde(rename = "Preview")]
    Preview,
    #[serde(rename = "Production")]
    Production,
}
impl std::fmt::Display for DeploymentTargetEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            DeploymentTargetEnum::Preview => "Preview",
            DeploymentTargetEnum::Production => "Production",
        };
        write!(f, "{}", str_val)
    }
}