Struct nomad_client_rs::models::deployment_state::DeploymentState
source · pub struct DeploymentState {
pub placed_canaries: Option<Vec<String>>,
pub auto_revert: Option<bool>,
pub progress_deadline: Option<i64>,
pub require_progress_by: Option<String>,
pub promoted: Option<bool>,
pub desired_canaries: Option<i32>,
pub desired_total: Option<i32>,
pub placed_allocs: Option<i32>,
pub healthy_allocs: Option<i32>,
pub unhealthy_allocs: Option<i32>,
}
Fields§
§placed_canaries: Option<Vec<String>>
§auto_revert: Option<bool>
§progress_deadline: Option<i64>
§require_progress_by: Option<String>
§promoted: Option<bool>
§desired_canaries: Option<i32>
§desired_total: Option<i32>
§placed_allocs: Option<i32>
§healthy_allocs: Option<i32>
§unhealthy_allocs: Option<i32>
Trait Implementations§
source§impl Clone for DeploymentState
impl Clone for DeploymentState
source§fn clone(&self) -> DeploymentState
fn clone(&self) -> DeploymentState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeploymentState
impl Debug for DeploymentState
source§impl Default for DeploymentState
impl Default for DeploymentState
source§fn default() -> DeploymentState
fn default() -> DeploymentState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeploymentState
impl<'de> Deserialize<'de> for DeploymentState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more