[][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 Default for Command[src]

impl Clone for Command[src]

impl PartialEq<Command> 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 Unpin for Command

impl Sync for Command

impl UnwindSafe for Command

impl RefUnwindSafe for Command

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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