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]

[src]

[src]

[src]

Add a filter on the earliest job "usage time".

TODO: what is "usage time" really?

[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.

[src]

Mutably access the list of user ID numbers that will match this set of filters.

Trait Implementations

impl Debug for JobFilters
[src]

[src]

Formats the value using the given formatter. Read more

impl UnownedFromSlurmPointer for JobFilters
[src]

[src]

Create an unowned wrapper object from a Slurm pointer.

Auto Trait Implementations

impl !Send for JobFilters

impl !Sync for JobFilters