Struct xio_jobset::Command
source · pub struct Command {
pub caption: String,
pub command_type: String,
pub parameters: BTreeMap<String, String>,
pub conditions: Vec<Condition>,
}
Expand description
A command which can be executed in a job.
Fields
The caption 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: BTreeMap<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
sourceimpl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl ExtractCaptions for Command
impl ExtractCaptions for Command
type Captions = CommandCaption
type Captions = CommandCaption
The type of the extracted captions.
In this method, the extraction is being processed.
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more