pub struct WorkflowUnit {
pub id: String,
pub ty: String,
pub node: String,
pub parent: Option<String>,
pub root: String,
pub depth: i64,
pub lap: i64,
pub project: Option<String>,
pub data: String,
}Expand description
A unit as stored: immutable, carrying its lineage and its data.
Fields§
§id: String§ty: String§node: StringThe node that wrote it; @input for a root unit.
parent: Option<String>§root: String§depth: i64§lap: i64§project: Option<String>§data: StringThe declared fields, as JSON.
Trait Implementations§
Source§impl Clone for WorkflowUnit
impl Clone for WorkflowUnit
Source§impl Debug for WorkflowUnit
impl Debug for WorkflowUnit
Source§impl PartialEq for WorkflowUnit
impl PartialEq for WorkflowUnit
impl StructuralPartialEq for WorkflowUnit
Auto Trait Implementations§
impl Freeze for WorkflowUnit
impl RefUnwindSafe for WorkflowUnit
impl Send for WorkflowUnit
impl Sync for WorkflowUnit
impl Unpin for WorkflowUnit
impl UnsafeUnpin for WorkflowUnit
impl UnwindSafe for WorkflowUnit
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