pub struct WorkflowVersion {
pub entry_module: String,
pub content_hash: ContentHash,
pub activities: Vec<DeclaredActivity>,
pub input_schema: Value,
pub output_schema: Value,
}Expand description
Cross-system record describing a validated workflow package version.
The record is produced from a loaded crate::Package after archive
integrity has been verified. It carries the logical entry module and
recomputed content hash alongside the manifest-declared activities and
schemas. Stores that cannot depend on aion-package can persist the textual
content-hash form, but this is the canonical typed record for consumers that
do depend on this crate.
Fields§
§entry_module: StringLogical workflow entry module before deployed-name namespacing.
content_hash: ContentHashRecomputed SHA-256 content hash of the canonical beam set.
activities: Vec<DeclaredActivity>Activity types declared by the workflow manifest.
input_schema: ValueJSON schema accepted by the workflow entry point.
output_schema: ValueJSON schema produced by the workflow entry point.
Trait Implementations§
Source§impl Clone for WorkflowVersion
impl Clone for WorkflowVersion
Source§fn clone(&self) -> WorkflowVersion
fn clone(&self) -> WorkflowVersion
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 WorkflowVersion
impl Debug for WorkflowVersion
Source§impl<'de> Deserialize<'de> for WorkflowVersion
impl<'de> Deserialize<'de> for WorkflowVersion
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 WorkflowVersion
impl PartialEq for WorkflowVersion
Source§fn eq(&self, other: &WorkflowVersion) -> bool
fn eq(&self, other: &WorkflowVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowVersion
impl Serialize for WorkflowVersion
impl StructuralPartialEq for WorkflowVersion
Auto Trait Implementations§
impl Freeze for WorkflowVersion
impl RefUnwindSafe for WorkflowVersion
impl Send for WorkflowVersion
impl Sync for WorkflowVersion
impl Unpin for WorkflowVersion
impl UnsafeUnpin for WorkflowVersion
impl UnwindSafe for WorkflowVersion
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