pub struct TaskGroupSummary {
pub queued: i64,
pub complete: i64,
pub failed: i64,
pub running: i64,
pub starting: i64,
pub lost: i64,
pub unknown: i64,
}
Expand description
TaskGroup summarizes the state of all the allocations of a particular TaskGroup
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§queued: i64
§complete: i64
§failed: i64
§running: i64
§starting: i64
§lost: i64
§unknown: i64
Implementations§
Source§impl TaskGroupSummary
impl TaskGroupSummary
pub fn builder() -> TaskGroupSummaryBuilder
Trait Implementations§
Source§impl Clone for TaskGroupSummary
impl Clone for TaskGroupSummary
Source§fn clone(&self) -> TaskGroupSummary
fn clone(&self) -> TaskGroupSummary
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 TaskGroupSummary
impl Debug for TaskGroupSummary
Source§impl Default for TaskGroupSummary
impl Default for TaskGroupSummary
Source§fn default() -> TaskGroupSummary
fn default() -> TaskGroupSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskGroupSummary
impl<'de> Deserialize<'de> for TaskGroupSummary
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 for TaskGroupSummary
impl PartialEq for TaskGroupSummary
Source§impl Serialize for TaskGroupSummary
impl Serialize for TaskGroupSummary
impl StructuralPartialEq for TaskGroupSummary
Auto Trait Implementations§
impl Freeze for TaskGroupSummary
impl RefUnwindSafe for TaskGroupSummary
impl Send for TaskGroupSummary
impl Sync for TaskGroupSummary
impl Unpin for TaskGroupSummary
impl UnwindSafe for TaskGroupSummary
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