pub struct RunInspection {
pub schema_version: u32,
pub run_id: RunId,
pub status: RunStatus,
pub event_count: usize,
pub last_sequence: u64,
pub usage: Usage,
pub error: Option<RunError>,
pub domain_events: Vec<String>,
}Expand description
Read-only operational summary of one run event stream.
Fields§
§schema_version: u32Inspection schema version.
run_id: RunIdInspected run identity.
status: RunStatusInferred lifecycle state.
event_count: usizeNumber of canonical events.
last_sequence: u64Last observed monotonic sequence.
usage: UsageLatest cumulative usage snapshot.
error: Option<RunError>Terminal typed error, when the run failed.
domain_events: Vec<String>Domain event names in first-observed order.
Implementations§
Source§impl RunInspection
impl RunInspection
Sourcepub const SCHEMA_VERSION: u32 = 1
pub const SCHEMA_VERSION: u32 = 1
Current inspection contract version.
Trait Implementations§
Source§impl Clone for RunInspection
impl Clone for RunInspection
Source§fn clone(&self) -> RunInspection
fn clone(&self) -> RunInspection
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 RunInspection
impl Debug for RunInspection
Source§impl<'de> Deserialize<'de> for RunInspection
impl<'de> Deserialize<'de> for RunInspection
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 RunInspection
impl PartialEq for RunInspection
Source§impl Serialize for RunInspection
impl Serialize for RunInspection
impl StructuralPartialEq for RunInspection
Auto Trait Implementations§
impl Freeze for RunInspection
impl RefUnwindSafe for RunInspection
impl Send for RunInspection
impl Sync for RunInspection
impl Unpin for RunInspection
impl UnsafeUnpin for RunInspection
impl UnwindSafe for RunInspection
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