pub struct WorkflowInstanceSummary {Show 15 fields
pub name: String,
pub metadata_version: u64,
pub archived: bool,
pub instance_id: InstanceId,
pub definition_id: WorkflowDefinitionId,
pub revision: u64,
pub status: String,
pub control_mode: String,
pub next_run_at: DateTime<Utc>,
pub schedule_at: DateTime<Utc>,
pub starts_at: Option<DateTime<Utc>>,
pub expires_at: Option<DateTime<Utc>>,
pub drain_deadline: Option<DateTime<Utc>>,
pub lifecycle: LifecyclePolicy,
pub last_error: Option<String>,
}Expand description
Owned instance status and immutable pins.
Fields§
§name: StringDisplay name, independent of pinned execution content.
metadata_version: u64Compare-and-set metadata version.
archived: boolWhether this stopped instance is archived.
instance_id: InstanceIdInstance identity.
definition_id: WorkflowDefinitionIdDefinition pinned by this instance.
revision: u64Pinned revision number.
status: StringCurrent lifecycle status.
control_mode: StringInstance control mode, separate from lifecycle status; unknown if absent.
next_run_at: DateTime<Utc>Next durable wakeup time.
schedule_at: DateTime<Utc>Scheduled occurrence currently being evaluated or awaited.
starts_at: Option<DateTime<Utc>>Earliest configured activation time.
expires_at: Option<DateTime<Utc>>Configured expiry time.
drain_deadline: Option<DateTime<Utc>>Hard stop after draining dispatched work.
lifecycle: LifecyclePolicyFrozen lifecycle policy for this instance.
last_error: Option<String>Most recent failure, when present.
Trait Implementations§
Source§impl Clone for WorkflowInstanceSummary
impl Clone for WorkflowInstanceSummary
Source§fn clone(&self) -> WorkflowInstanceSummary
fn clone(&self) -> WorkflowInstanceSummary
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 WorkflowInstanceSummary
impl Debug for WorkflowInstanceSummary
Source§impl<'de> Deserialize<'de> for WorkflowInstanceSummary
impl<'de> Deserialize<'de> for WorkflowInstanceSummary
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 WorkflowInstanceSummary
impl PartialEq for WorkflowInstanceSummary
Source§impl Serialize for WorkflowInstanceSummary
impl Serialize for WorkflowInstanceSummary
impl StructuralPartialEq for WorkflowInstanceSummary
Auto Trait Implementations§
impl Freeze for WorkflowInstanceSummary
impl RefUnwindSafe for WorkflowInstanceSummary
impl Send for WorkflowInstanceSummary
impl Sync for WorkflowInstanceSummary
impl Unpin for WorkflowInstanceSummary
impl UnsafeUnpin for WorkflowInstanceSummary
impl UnwindSafe for WorkflowInstanceSummary
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