pub struct WorkflowProcessDefinition {
pub namespace: String,
pub name: String,
pub version: String,
pub input: Option<Value>,
}Expand description
Represents the definition of a (sub)workflow process
Fields§
§namespace: StringGets/sets the namespace the workflow to run belongs to
name: StringGets/sets the name of the workflow to run
version: StringGets/sets the version of the workflow to run
input: Option<Value>Gets/sets the data, if any, to pass as input to the workflow to execute. The value should be validated against the target workflow’s input schema, if specified
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowProcessDefinition
impl Clone for WorkflowProcessDefinition
Source§fn clone(&self) -> WorkflowProcessDefinition
fn clone(&self) -> WorkflowProcessDefinition
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 WorkflowProcessDefinition
impl Debug for WorkflowProcessDefinition
Source§impl Default for WorkflowProcessDefinition
impl Default for WorkflowProcessDefinition
Source§fn default() -> WorkflowProcessDefinition
fn default() -> WorkflowProcessDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowProcessDefinition
impl<'de> Deserialize<'de> for WorkflowProcessDefinition
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 WorkflowProcessDefinition
impl PartialEq for WorkflowProcessDefinition
Source§fn eq(&self, other: &WorkflowProcessDefinition) -> bool
fn eq(&self, other: &WorkflowProcessDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkflowProcessDefinition
Auto Trait Implementations§
impl Freeze for WorkflowProcessDefinition
impl RefUnwindSafe for WorkflowProcessDefinition
impl Send for WorkflowProcessDefinition
impl Sync for WorkflowProcessDefinition
impl Unpin for WorkflowProcessDefinition
impl UnsafeUnpin for WorkflowProcessDefinition
impl UnwindSafe for WorkflowProcessDefinition
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