pub struct WorkflowBundle {
pub version: String,
pub created_at: String,
pub description: String,
pub workflow: WorkflowDefinition,
pub metadata: HashMap<String, String>,
pub tags: Vec<String>,
}Expand description
A portable workflow bundle that can be serialized/deserialized.
Fields§
§version: StringBundle format version.
created_at: StringWhen the bundle was created (ISO 8601 string).
description: StringHuman-readable description of the bundle.
workflow: WorkflowDefinitionThe workflow definition.
metadata: HashMap<String, String>Optional metadata about the bundle.
Tags for categorization.
Trait Implementations§
Source§impl Clone for WorkflowBundle
impl Clone for WorkflowBundle
Source§fn clone(&self) -> WorkflowBundle
fn clone(&self) -> WorkflowBundle
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 WorkflowBundle
impl Debug for WorkflowBundle
Source§impl<'de> Deserialize<'de> for WorkflowBundle
impl<'de> Deserialize<'de> for WorkflowBundle
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
Auto Trait Implementations§
impl Freeze for WorkflowBundle
impl RefUnwindSafe for WorkflowBundle
impl Send for WorkflowBundle
impl Sync for WorkflowBundle
impl Unpin for WorkflowBundle
impl UnsafeUnpin for WorkflowBundle
impl UnwindSafe for WorkflowBundle
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