pub struct ScriptInstruction {
pub label: Option<String>,
pub output: Option<String>,
pub command: Option<String>,
pub arguments: Option<Vec<String>>,
}Expand description
Runtime script instruction
Fields§
§label: Option<String>The label tag
output: Option<String>The command output variable name
command: Option<String>The command name
arguments: Option<Vec<String>>The command arguments
Implementations§
Source§impl ScriptInstruction
impl ScriptInstruction
Sourcepub fn new() -> ScriptInstruction
pub fn new() -> ScriptInstruction
Creates and returns a new instance.
Trait Implementations§
Source§impl Clone for ScriptInstruction
impl Clone for ScriptInstruction
Source§fn clone(&self) -> ScriptInstruction
fn clone(&self) -> ScriptInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScriptInstruction
impl Debug for ScriptInstruction
Source§impl Default for ScriptInstruction
impl Default for ScriptInstruction
Source§fn default() -> ScriptInstruction
fn default() -> ScriptInstruction
Returns the “default value” for a type. Read more
Source§impl InstructionOperations for ScriptInstruction
impl InstructionOperations for ScriptInstruction
Source§fn is_actionable(&self) -> bool
fn is_actionable(&self) -> bool
Returns true if this instruction has some actionable command to run
Auto Trait Implementations§
impl Freeze for ScriptInstruction
impl RefUnwindSafe for ScriptInstruction
impl Send for ScriptInstruction
impl Sync for ScriptInstruction
impl Unpin for ScriptInstruction
impl UnwindSafe for ScriptInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more