pub struct WorkflowEntry {
pub workflow_type: String,
pub entry_module: String,
pub entry_function: String,
pub input_schema: Value,
pub output_schema: Value,
pub timeout: Duration,
pub internal: bool,
}Expand description
An additional workflow entry exported by the same .aion archive.
Additional entries share the archive’s content hash and BEAM closure with
the primary manifest entry. workflow_type is the routing name, while
entry_module and entry_function identify the callable in that closure.
Fields§
§workflow_type: StringStable workflow type used by start and child-spawn routing.
entry_module: StringLogical BEAM module exporting the entry function.
entry_function: StringExported engine entry function.
input_schema: ValueJSON Schema for the entry’s input payload.
output_schema: ValueJSON Schema for the entry’s result payload.
timeout: DurationWorkflow execution timeout.
internal: boolWhether this entry is package-internal rather than operator-authored.
Trait Implementations§
Source§impl Clone for WorkflowEntry
impl Clone for WorkflowEntry
Source§fn clone(&self) -> WorkflowEntry
fn clone(&self) -> WorkflowEntry
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 WorkflowEntry
impl Debug for WorkflowEntry
Source§impl<'de> Deserialize<'de> for WorkflowEntry
impl<'de> Deserialize<'de> for WorkflowEntry
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 WorkflowEntry
impl PartialEq for WorkflowEntry
Source§impl Serialize for WorkflowEntry
impl Serialize for WorkflowEntry
impl StructuralPartialEq for WorkflowEntry
Auto Trait Implementations§
impl Freeze for WorkflowEntry
impl RefUnwindSafe for WorkflowEntry
impl Send for WorkflowEntry
impl Sync for WorkflowEntry
impl Unpin for WorkflowEntry
impl UnsafeUnpin for WorkflowEntry
impl UnwindSafe for WorkflowEntry
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