Struct nomad_client_rs::models::deployment::Deployment
source · pub struct Deployment {Show 13 fields
pub create_index: Option<i32>,
pub id: Option<String>,
pub is_multiregion: Option<bool>,
pub job_create_index: Option<i32>,
pub job_id: Option<String>,
pub job_modify_index: Option<i32>,
pub job_spec_modify_index: Option<i32>,
pub job_version: Option<i32>,
pub modify_index: Option<i32>,
pub namespace: Option<String>,
pub status: Option<String>,
pub status_description: Option<String>,
pub task_groups: Option<HashMap<String, DeploymentState>>,
}
Fields§
§create_index: Option<i32>
§id: Option<String>
§is_multiregion: Option<bool>
§job_create_index: Option<i32>
§job_id: Option<String>
§job_modify_index: Option<i32>
§job_spec_modify_index: Option<i32>
§job_version: Option<i32>
§modify_index: Option<i32>
§namespace: Option<String>
§status: Option<String>
§status_description: Option<String>
§task_groups: Option<HashMap<String, DeploymentState>>
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
source§impl PartialEq<Deployment> for Deployment
impl PartialEq<Deployment> for Deployment
source§fn eq(&self, other: &Deployment) -> bool
fn eq(&self, other: &Deployment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more