Struct slurm::SingleJobInfoMessage
[−]
[src]
pub struct SingleJobInfoMessage(_);
Information about a single job.
This type implements Deref
to JobInfo
and so can be essentially be
treated as a JobInfo
. Due to how the Slurm library manages memory, this
separate type is necessary in some cases.
Methods from Deref<Target = JobInfo>
pub fn job_id(&self) -> JobId
[src]
Get this job's ID.
pub fn partition(&self) -> Cow<str>
[src]
Get the cluster partition on which this job resides.
Trait Implementations
impl Debug for SingleJobInfoMessage
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl UnownedFromSlurmPointer for SingleJobInfoMessage
[src]
fn unowned_from_slurm_pointer(ptr: *mut c_void) -> Self
[src]
Create an unowned wrapper object from a Slurm pointer.
impl Deref for SingleJobInfoMessage
[src]
type Target = JobInfo
The resulting type after dereferencing.
fn deref(&self) -> &JobInfo
[src]
Dereferences the value.