Struct bollard::models::ServiceServiceStatus[][src]

pub struct ServiceServiceStatus {
    pub running_tasks: Option<u64>,
    pub desired_tasks: Option<u64>,
    pub completed_tasks: Option<u64>,
}

The status of the service’s tasks. Provided only when requested as part of a ServiceList operation.

Fields

running_tasks: Option<u64>

The number of tasks for the service currently in the Running state.

desired_tasks: Option<u64>

The number of tasks for the service desired to be running. For replicated services, this is the replica count from the service spec. For global services, this is computed by taking count of all tasks for the service with a Desired State other than Shutdown.

completed_tasks: Option<u64>

The number of tasks for a job that are in the Completed state. This field must be cross-referenced with the service type, as the value of 0 may mean the service is not in a job mode, or it may mean the job-mode service has no tasks yet Completed.

Trait Implementations

impl Clone for ServiceServiceStatus[src]

impl Debug for ServiceServiceStatus[src]

impl Default for ServiceServiceStatus[src]

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

impl PartialEq<ServiceServiceStatus> for ServiceServiceStatus[src]

impl Serialize for ServiceServiceStatus[src]

impl StructuralPartialEq for ServiceServiceStatus[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.