Struct slurm::JobFilters
[−]
[src]
pub struct JobFilters(_);
A set of filters for identifying jobs of interest when querying the Slurm accounting database.
The following items in the Slurm API are not exposed in these Rust bindings:
ⓘThis example is not tested
pub struct slurmdb_job_cond_t { pub acct_list: List, pub associd_list: List, pub cluster_list: List, pub cpus_max: u32, pub cpus_min: u32, pub duplicates: u16, pub exitcode: i32, pub format_list: List, pub groupid_list: List, pub jobname_list: List, pub nodes_max: u32, pub nodes_min: u32, pub partition_list: List, pub qos_list: List, pub resv_list: List, pub resvid_list: List, pub state_list: List, pub timelimit_max: u32, pub timelimit_min: u32, pub usage_end: time_t, pub used_nodes: *mut c_char, pub wckey_list: List, pub without_steps: u16, pub without_usage_truncation: u16, }
Methods
impl JobFilters
[src]
pub fn step_list(&self) -> &SlurmList<JobStepFilter>
[src]
pub fn step_list_mut(&mut self) -> &mut SlurmList<JobStepFilter>
[src]
pub fn usage_start(&mut self, time: DateTime<Utc>) -> &Self
[src]
Add a filter on the earliest job "usage time".
TODO: what is "usage time" really?
pub fn userid_list(&self) -> &SlurmList<*mut c_char>
[src]
Access the list of user ID numbers that will match this set of filters.
Note that this list should consist of textual representations of numeric user IDs. Yes, it's silly.
pub fn userid_list_mut(&mut self) -> &mut SlurmList<*mut c_char>
[src]
Mutably access the list of user ID numbers that will match this set of filters.
Trait Implementations
impl Debug for JobFilters
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl UnownedFromSlurmPointer for JobFilters
[src]
fn unowned_from_slurm_pointer(ptr: *mut c_void) -> Self
[src]
Create an unowned wrapper object from a Slurm pointer.