Struct xio_jobset::Condition[][src]

pub struct Condition {
    pub caption: String,
    pub command_type: String,
    pub exit_job: bool,
    pub parameters: BTreeMap<String, String>,
}

A condition which gets checked while a command is running.

Fields

The caption of the condition.

The condition command type.

This identifies a command by it's string id which needs to be defined in the XIO commandset that gets used for compilation.

When the condition is met:

  • When true, the job gets stopped with the ::xio_webapi::JobStoppedReason::ExitCriterionMatched reason.
  • When false, continue job execution at the next command.

The parameters assignments.

The keys are the parameter string identifiers as defined in the XIO commandset definition for the command. The values reference the string identifier of the definition in the ParameterSet layers of the job set.

Trait Implementations

impl ExtractCaptions for Condition
[src]

The type of the extracted captions.

In this method, the extraction is being processed.

impl Clone for Condition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Condition
[src]

Formats the value using the given formatter. Read more

impl Default for Condition
[src]

Returns the "default value" for a type. Read more

impl Eq for Condition
[src]

impl PartialEq for Condition
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Condition

impl Sync for Condition