pub struct TaskDefinitionFields {
pub if_: Option<String>,
pub input: Option<InputDataModelDefinition>,
pub output: Option<OutputDataModelDefinition>,
pub export: Option<OutputDataModelDefinition>,
pub timeout: Option<OneOfTimeoutDefinitionOrReference>,
pub then: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
Holds the fields common to all tasks
Fields§
§if_: Option<String>Gets/sets a runtime expression, if any, used to determine whether or not the execute the task in the current context
input: Option<InputDataModelDefinition>Gets/sets the definition, if any, of the task’s input data
output: Option<OutputDataModelDefinition>Gets/sets the definition, if any, of the task’s output data
export: Option<OutputDataModelDefinition>Gets/sets the optional configuration for exporting data within the task’s context
timeout: Option<OneOfTimeoutDefinitionOrReference>Gets/sets the task’s timeout, if any
then: Option<String>Gets/sets the flow directive to be performed upon completion of the task
metadata: Option<HashMap<String, Value>>Gets/sets a key/value mapping of additional information associated with the task
Implementations§
Trait Implementations§
Source§impl Clone for TaskDefinitionFields
impl Clone for TaskDefinitionFields
Source§fn clone(&self) -> TaskDefinitionFields
fn clone(&self) -> TaskDefinitionFields
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskDefinitionFields
impl Debug for TaskDefinitionFields
Source§impl Default for TaskDefinitionFields
impl Default for TaskDefinitionFields
Source§impl<'de> Deserialize<'de> for TaskDefinitionFields
impl<'de> Deserialize<'de> for TaskDefinitionFields
Source§fn 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
Source§impl PartialEq for TaskDefinitionFields
impl PartialEq for TaskDefinitionFields
Source§fn eq(&self, other: &TaskDefinitionFields) -> bool
fn eq(&self, other: &TaskDefinitionFields) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaskDefinitionFields
impl Serialize for TaskDefinitionFields
impl StructuralPartialEq for TaskDefinitionFields
Auto Trait Implementations§
impl Freeze for TaskDefinitionFields
impl RefUnwindSafe for TaskDefinitionFields
impl Send for TaskDefinitionFields
impl Sync for TaskDefinitionFields
impl Unpin for TaskDefinitionFields
impl UnsafeUnpin for TaskDefinitionFields
impl UnwindSafe for TaskDefinitionFields
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