pub struct JobSummary {
pub create_index: u64,
pub modify_index: u64,
pub job_id: String,
pub namespace: String,
pub summary: HashMap<String, TaskGroupSummary>,
pub children: Option<JobChildrenSummary>,
}
Expand description
JobSummary summarizes the state of the allocations of a job
This struct was generated based on the Go types of the official Nomad API.
Fields§
§create_index: u64
Raft Indexes
modify_index: u64
§job_id: String
§namespace: String
§summary: HashMap<String, TaskGroupSummary>
§children: Option<JobChildrenSummary>
Trait Implementations§
Source§impl Clone for JobSummary
impl Clone for JobSummary
Source§fn clone(&self) -> JobSummary
fn clone(&self) -> JobSummary
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 JobSummary
impl Debug for JobSummary
Source§impl Default for JobSummary
impl Default for JobSummary
Source§fn default() -> JobSummary
fn default() -> JobSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobSummary
impl<'de> Deserialize<'de> for JobSummary
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 JobSummary
impl PartialEq for JobSummary
Source§impl Serialize for JobSummary
impl Serialize for JobSummary
impl StructuralPartialEq for JobSummary
Auto Trait Implementations§
impl Freeze for JobSummary
impl RefUnwindSafe for JobSummary
impl Send for JobSummary
impl Sync for JobSummary
impl Unpin for JobSummary
impl UnwindSafe for JobSummary
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