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: Option<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: Option<Duration>Explicitly authored workflow execution timeout, or None when the entry
declared none. Serialised only when present, so a manifest written for an
entry with no authored timeout carries no timeout key at all; a legacy
manifest that still carries a defaulted value decodes to Some(_) but is
held non-arming by the package’s content-hash identity (see
crate::Package). Never a buried default.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more