pub struct WorkflowInstance {Show 14 fields
pub id: String,
pub workflow_id: String,
pub workflow: Option<Workflow>,
pub state: JobInstanceState,
pub status: JobProcessStatus,
pub team_id: String,
pub input: HashMap<String, Value>,
pub errors: Vec<SystemActivityLog>,
pub output: HashMap<String, Value>,
pub metadata: JobMetadata,
pub created_by: Option<String>,
pub updated_by: Option<String>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
}Expand description
§WorkflowInstance
A running instance of a schema entity
Fields§
§id: StringUnique identifier of a schema
workflow_id: StringWorkflow that owns this schema
workflow: Option<Workflow>Workflow that owns this schema
state: JobInstanceState§status: JobProcessStatusActual state of the schema JobProcessStatus
team_id: String§input: HashMap<String, Value>Execution result
errors: Vec<SystemActivityLog>§output: HashMap<String, Value>§metadata: JobMetadataJobMetadata data for job
created_by: Option<String>[OwnerMetadata] owner data for entity
updated_by: Option<String>[OwnerMetadata] owner data for entity
created_at: DateTime<FixedOffset>Date the entity was created
updated_at: DateTime<FixedOffset>Date the entity was updated
Trait Implementations§
Source§impl Clone for WorkflowInstance
impl Clone for WorkflowInstance
Source§fn clone(&self) -> WorkflowInstance
fn clone(&self) -> WorkflowInstance
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkflowInstance
impl Debug for WorkflowInstance
Source§impl<'de> Deserialize<'de> for WorkflowInstance
impl<'de> Deserialize<'de> for WorkflowInstance
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 WorkflowInstance
impl PartialEq for WorkflowInstance
Source§impl Serialize for WorkflowInstance
impl Serialize for WorkflowInstance
impl Eq for WorkflowInstance
impl StructuralPartialEq for WorkflowInstance
Auto Trait Implementations§
impl Freeze for WorkflowInstance
impl RefUnwindSafe for WorkflowInstance
impl Send for WorkflowInstance
impl Sync for WorkflowInstance
impl Unpin for WorkflowInstance
impl UnwindSafe for WorkflowInstance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more