pub struct ExecutionProjection {
pub schema_version: String,
pub source_sequence: i64,
pub current_steps: Vec<String>,
pub completed_steps: Vec<String>,
pub waiting_on: Option<Value>,
pub last_decision: Option<Value>,
pub next_possible_steps: Vec<String>,
pub next_trigger_at: Option<DateTime<Utc>>,
pub planned_actions: Vec<String>,
pub latest_diagnostic: Option<DiagnosticRecord>,
pub progress: Value,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
Rebuildable read model of an instance; never authorizes or schedules work.
Fields§
§schema_version: StringProjection schema version.
source_sequence: i64Authoritative event sequence the projection was built from.
current_steps: Vec<String>Steps in progress.
completed_steps: Vec<String>Steps completed.
waiting_on: Option<Value>What the instance waits for.
last_decision: Option<Value>Most recent decision.
next_possible_steps: Vec<String>Steps that may run next.
next_trigger_at: Option<DateTime<Utc>>Next scheduled evaluation.
planned_actions: Vec<String>Actions prepared but not dispatched.
latest_diagnostic: Option<DiagnosticRecord>Most recent diagnostic.
progress: ValueProduct-defined progress.
expires_at: Option<DateTime<Utc>>When the record stops being valid.
Trait Implementations§
Source§impl Clone for ExecutionProjection
impl Clone for ExecutionProjection
Source§fn clone(&self) -> ExecutionProjection
fn clone(&self) -> ExecutionProjection
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 ExecutionProjection
impl Debug for ExecutionProjection
Source§impl<'de> Deserialize<'de> for ExecutionProjection
impl<'de> Deserialize<'de> for ExecutionProjection
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 ExecutionProjection
impl PartialEq for ExecutionProjection
Source§impl Serialize for ExecutionProjection
impl Serialize for ExecutionProjection
impl StructuralPartialEq for ExecutionProjection
Auto Trait Implementations§
impl Freeze for ExecutionProjection
impl RefUnwindSafe for ExecutionProjection
impl Send for ExecutionProjection
impl Sync for ExecutionProjection
impl Unpin for ExecutionProjection
impl UnsafeUnpin for ExecutionProjection
impl UnwindSafe for ExecutionProjection
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