pub struct WorkflowDefinition {
pub schema: String,
pub metadata: WorkflowMetadata,
pub limits: WorkflowLimits,
pub actor_slots: Vec<ActorSlot>,
pub runtimes: Vec<RuntimeRequirement>,
pub worksets: Vec<WorksetTemplate>,
pub initial: String,
pub states: Vec<GraphState>,
pub transitions: Vec<Transition>,
}Fields§
§schema: String§metadata: WorkflowMetadata§limits: WorkflowLimits§actor_slots: Vec<ActorSlot>§runtimes: Vec<RuntimeRequirement>§worksets: Vec<WorksetTemplate>§initial: String§states: Vec<GraphState>§transitions: Vec<Transition>Implementations§
Source§impl WorkflowDefinition
impl WorkflowDefinition
Sourcepub fn has_supported_schema(&self, supported: &SchemaId) -> bool
pub fn has_supported_schema(&self, supported: &SchemaId) -> bool
Whether the declared schema is the one the calling host accepts. The
engine binds no schema identity of its own: the host names the schema
vocabulary it compiles for.
Trait Implementations§
Source§impl Clone for WorkflowDefinition
impl Clone for WorkflowDefinition
Source§fn clone(&self) -> WorkflowDefinition
fn clone(&self) -> WorkflowDefinition
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 WorkflowDefinition
impl Debug for WorkflowDefinition
Source§impl<'de> Deserialize<'de> for WorkflowDefinition
impl<'de> Deserialize<'de> for WorkflowDefinition
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkflowDefinition
Source§impl PartialEq for WorkflowDefinition
impl PartialEq for WorkflowDefinition
Source§impl Serialize for WorkflowDefinition
impl Serialize for WorkflowDefinition
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkflowDefinition
Auto Trait Implementations§
impl Forget for WorkflowDefinition
impl Freeze for WorkflowDefinition
impl Move for WorkflowDefinition
impl RefUnwindSafe for WorkflowDefinition
impl Send for WorkflowDefinition
impl Sync for WorkflowDefinition
impl Unpin for WorkflowDefinition
impl UnsafeUnpin for WorkflowDefinition
impl UnwindSafe for WorkflowDefinition
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.