Struct bollard::models::ServiceServiceStatus [−][src]
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]
pub fn clone(&self) -> ServiceServiceStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ServiceServiceStatus
[src]
impl Default for ServiceServiceStatus
[src]
pub fn default() -> ServiceServiceStatus
[src]
impl<'de> Deserialize<'de> for ServiceServiceStatus
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ServiceServiceStatus, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<ServiceServiceStatus, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<ServiceServiceStatus> for ServiceServiceStatus
[src]
pub fn eq(&self, other: &ServiceServiceStatus) -> bool
[src]
pub fn ne(&self, other: &ServiceServiceStatus) -> bool
[src]
impl Serialize for ServiceServiceStatus
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for ServiceServiceStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceServiceStatus
impl Send for ServiceServiceStatus
impl Sync for ServiceServiceStatus
impl Unpin for ServiceServiceStatus
impl UnwindSafe for ServiceServiceStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,