Struct nomad_client_rs::models::deployment::Deployment
source · pub struct Deployment {
pub id: Option<String>,
pub namespace: Option<String>,
pub job_id: Option<String>,
pub job_version: Option<i32>,
pub job_modify_index: Option<i32>,
pub job_spec_modify_index: Option<i32>,
pub job_create_index: Option<i32>,
pub task_groups: Option<HashMap<String, DeploymentState>>,
pub status: Option<String>,
pub status_description: Option<String>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§id: Option<String>
§namespace: Option<String>
§job_id: Option<String>
§job_version: Option<i32>
§job_modify_index: Option<i32>
§job_spec_modify_index: Option<i32>
§job_create_index: Option<i32>
§task_groups: Option<HashMap<String, DeploymentState>>
§status: Option<String>
§status_description: Option<String>
§create_index: Option<i32>
§modify_index: Option<i32>
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
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 Deployment
impl Debug for Deployment
source§impl Default for Deployment
impl Default for Deployment
source§fn default() -> Deployment
fn default() -> Deployment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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