pub struct WorkflowSpec {
pub name: String,
pub version: String,
pub runtime: RuntimeSpec,
}Expand description
Durable workflow definition.
Fields§
§name: String§version: String§runtime: RuntimeSpecImplementations§
Source§impl WorkflowSpec
impl WorkflowSpec
pub fn native_ts( name: impl Into<String>, version: impl Into<String>, entrypoint: impl Into<String>, export_name: impl Into<String>, ) -> Self
pub fn rust_embedded( name: impl Into<String>, version: impl Into<String>, entrypoint: impl Into<String>, export_name: impl Into<String>, ) -> Self
pub fn validate(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for WorkflowSpec
impl Clone for WorkflowSpec
Source§fn clone(&self) -> WorkflowSpec
fn clone(&self) -> WorkflowSpec
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 WorkflowSpec
impl Debug for WorkflowSpec
Source§impl<'de> Deserialize<'de> for WorkflowSpec
impl<'de> Deserialize<'de> for WorkflowSpec
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
impl Eq for WorkflowSpec
Source§impl From<&WorkflowSpec> for FlowWorkflowIdentity
impl From<&WorkflowSpec> for FlowWorkflowIdentity
Source§fn from(spec: &WorkflowSpec) -> Self
fn from(spec: &WorkflowSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkflowSpec
impl PartialEq for WorkflowSpec
Source§fn eq(&self, other: &WorkflowSpec) -> bool
fn eq(&self, other: &WorkflowSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowSpec
impl Serialize for WorkflowSpec
impl StructuralPartialEq for WorkflowSpec
Auto Trait Implementations§
impl Freeze for WorkflowSpec
impl RefUnwindSafe for WorkflowSpec
impl Send for WorkflowSpec
impl Sync for WorkflowSpec
impl Unpin for WorkflowSpec
impl UnsafeUnpin for WorkflowSpec
impl UnwindSafe for WorkflowSpec
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