pub struct RunView {
pub run: RunRecord,
pub state: RunState,
pub state_since: DateTime<Utc>,
pub state_detail: Option<String>,
pub status: ObservedStatus,
pub last_receipt_at: DateTime<Utc>,
pub stale_at: Option<DateTime<Utc>>,
pub activity: ActivityTally,
pub lineage: LineageStatus,
pub orphan: Option<Orphan>,
pub operations: Vec<RunLink>,
pub evaluated_at: DateTime<Utc>,
}Expand description
A run with its derived observation, evaluated at one clock reading.
Fields§
§run: RunRecordThe run as started.
state: RunStateLifecycle truth: the last recorded transition.
state_since: DateTime<Utc>When that transition was recorded.
state_detail: Option<String>Detail the reporter gave with it.
status: ObservedStatusWhat can be said about the run now; see ObservedStatus.
last_receipt_at: DateTime<Utc>The latest time DPM received anything from the run, from DPM’s own clock.
stale_at: Option<DateTime<Utc>>When a working or waiting run turns stale if nothing more arrives; the instant a view should next be recomputed. Absent once the run is stale, unknown or finished.
activity: ActivityTallyActivity received, retained and latest.
lineage: LineageStatusWhether the run belongs to the store’s current history.
orphan: Option<Orphan>Present when the run is unfinished but its task no longer matches it.
operations: Vec<RunLink>Project operations explicitly linked to the run.
evaluated_at: DateTime<Utc>The clock reading this view was computed at.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunView
impl<'de> Deserialize<'de> for RunView
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
impl StructuralPartialEq for RunView
Auto Trait Implementations§
impl Freeze for RunView
impl RefUnwindSafe for RunView
impl Send for RunView
impl Sync for RunView
impl Unpin for RunView
impl UnsafeUnpin for RunView
impl UnwindSafe for RunView
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