[][src]Struct xio_jobset::Command

pub struct Command {
    pub message: String,
    pub description: String,
    pub command_type: String,
    pub parameters: IndexMap<String, String>,
    pub conditions: Vec<Condition>,
}

A command which can be executed in a job.

Fields

message: String

A human-readable message describing the current action.

description: String

The description of the command.

command_type: String

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

parameters: IndexMap<String, String>

The parameter 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.

conditions: Vec<Condition>

The conditions required for the command to continue running.

This can only be applied to commands that have a temporal extent (e.g. wait, but not the setValue or startMeasurementDataTransfer).

Trait Implementations

impl ExtractDescriptions for Command[src]

type Descriptions = CommandDescription

The type of the extracted descriptions.

impl Eq for Command[src]

impl Clone for Command[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Command> for Command[src]

impl Default for Command[src]

impl Debug for Command[src]

impl Serialize for Command[src]

impl<'de> Deserialize<'de> for Command[src]

Auto Trait Implementations

impl Send for Command

impl Sync for Command

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]