Struct bollard_stubs::models::ServiceJobStatus[][src]

pub struct ServiceJobStatus {
    pub job_iteration: Option<ObjectVersion>,
    pub last_execution: Option<DateTime<Utc>>,
}

The status of the service when it is in one of ReplicatedJob or GlobalJob modes. Absent on Replicated and Global mode services. The JobIteration is an ObjectVersion, but unlike the Service’s version, does not need to be sent with an update request.

Fields

job_iteration: Option<ObjectVersion>

JobIteration is a value increased each time a Job is executed, successfully or otherwise. "Executed", in this case, means the job as a whole has been started, not that an individual Task has been launched. A job is "Executed" when its ServiceSpec is updated. JobIteration can be used to disambiguate Tasks belonging to different executions of a job. Though JobIteration will increase with each subsequent execution, it may not necessarily increase by 1, and so JobIteration should not be used to

last_execution: Option<DateTime<Utc>>

The last time, as observed by the server, that this job was started.

Trait Implementations

impl Clone for ServiceJobStatus[src]

impl Debug for ServiceJobStatus[src]

impl Default for ServiceJobStatus[src]

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

impl PartialEq<ServiceJobStatus> for ServiceJobStatus[src]

impl Serialize for ServiceJobStatus[src]

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