Struct nomad_client::models::deployment::Deployment[][src]

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>

Implementations

impl Deployment[src]

pub fn new() -> Deployment[src]

Trait Implementations

impl Clone for Deployment[src]

impl Debug for Deployment[src]

impl<'de> Deserialize<'de> for Deployment[src]

impl PartialEq<Deployment> for Deployment[src]

impl Serialize for Deployment[src]

impl StructuralPartialEq for Deployment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.