Struct strymon_model::Job
[−]
[src]
pub struct Job { pub id: JobId, pub name: Option<String>, pub program: JobProgram, pub workers: usize, pub executors: Vec<ExecutorId>, pub start_time: u64, }
The meta-data of a submitted and running job.
Fields
id: JobId
A unique identifier for this job.
name: Option<String>
A human-readable description of the job.
program: JobProgram
Information about the job executable.
workers: usize
The total amount of workers.
executors: Vec<ExecutorId>
A list of executors currently executing this job.
start_time: u64
The Unix timestamp (at the coordinator) of the submission time.
Trait Implementations
impl Clone for Job
[src]
fn clone(&self) -> Job
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Job
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Job
[src]
fn eq(&self, __arg_0: &Job) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Job) -> bool
[src]
This method tests for !=
.
impl Eq for Job
[src]
impl Abomonation for Job
[src]
unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>
[src]
Write any additional information about &self
beyond its binary representation. Read more
fn extent(&self) -> usize
[src]
Reports the number of further bytes required to entomb self
.
unsafe fn exhume<'a, 'b>(
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
[src]
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
Recover any information for &mut self
not evident from its binary representation. Read more
impl TypeName for Job
[src]
fn fmt(f: &mut Formatter) -> Result
[src]
Formats the fully qualified type name using the given formatter.
fn type_name() -> String
Returns the canoncial, concrete name of a type as a string. # Examples Read more
fn type_name_of(&self) -> String
Returns the canoncial type of a value as a string. # Examples Read more