pub struct CommandSpecification {Show 26 fields
pub name: String,
pub matcher: String,
pub documentation: String,
pub accepts_arbitrary_inputs: bool,
pub create_output_for_each_input: bool,
pub create_critical_output: Option<String>,
pub update_addon_defaults: bool,
pub implements_signing_capability: bool,
pub implements_background_task_capability: bool,
pub example: String,
pub default_inputs: Vec<CommandInput>,
pub inputs: Vec<CommandInput>,
pub outputs: Vec<CommandOutput>,
pub inputs_post_processing_closure: InputsPostProcessingClosure,
pub check_instantiability: InstantiabilityChecker,
pub check_executability: CommandCheckExecutabilityClosure,
pub prepare_nested_execution: CommandPrepareNestedExecution,
pub run_execution: CommandExecutionClosure,
pub check_signed_executability: CommandCheckSignedExecutabilityClosure,
pub evaluate_pre_conditions: CommandEvaluatePreConditions,
pub prepare_signed_nested_execution: CommandSignedPrepareNestedExecution,
pub run_signed_execution: CommandSignedExecutionClosure,
pub build_background_task: CommandBackgroundTaskExecutionClosure,
pub implements_cloud_service: bool,
pub aggregate_nested_execution_results: CommandAggregateNestedExecutionResults,
pub evaluate_post_conditions: CommandEvaluatePostConditions,
}Fields§
§name: String§matcher: String§documentation: String§accepts_arbitrary_inputs: bool§create_output_for_each_input: bool§create_critical_output: Option<String>§update_addon_defaults: bool§implements_signing_capability: bool§implements_background_task_capability: bool§example: String§default_inputs: Vec<CommandInput>§inputs: Vec<CommandInput>§outputs: Vec<CommandOutput>§inputs_post_processing_closure: InputsPostProcessingClosure§check_instantiability: InstantiabilityChecker§check_executability: CommandCheckExecutabilityClosure§prepare_nested_execution: CommandPrepareNestedExecution§run_execution: CommandExecutionClosure§check_signed_executability: CommandCheckSignedExecutabilityClosure§evaluate_pre_conditions: CommandEvaluatePreConditions§prepare_signed_nested_execution: CommandSignedPrepareNestedExecution§run_signed_execution: CommandSignedExecutionClosure§build_background_task: CommandBackgroundTaskExecutionClosure§implements_cloud_service: bool§aggregate_nested_execution_results: CommandAggregateNestedExecutionResults§evaluate_post_conditions: CommandEvaluatePostConditionsImplementations§
Source§impl CommandSpecification
impl CommandSpecification
pub fn default_inputs() -> Vec<CommandInput>
Trait Implementations§
Source§impl Clone for CommandSpecification
impl Clone for CommandSpecification
Source§fn clone(&self) -> CommandSpecification
fn clone(&self) -> CommandSpecification
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 CommandSpecification
impl Debug for CommandSpecification
Source§impl PartialEq for CommandSpecification
impl PartialEq for CommandSpecification
Source§impl Serialize for CommandSpecification
impl Serialize for CommandSpecification
impl Eq for CommandSpecification
impl StructuralPartialEq for CommandSpecification
Auto Trait Implementations§
impl Freeze for CommandSpecification
impl RefUnwindSafe for CommandSpecification
impl Send for CommandSpecification
impl Sync for CommandSpecification
impl Unpin for CommandSpecification
impl UnwindSafe for CommandSpecification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.