pub struct ObservationRecord {
pub observation_id: String,
pub captured_at_ms: u64,
pub viewport: Option<Viewport>,
pub screenshot: Option<EvidenceRef>,
pub screenshot_omission: Option<ScreenshotOmissionReason>,
pub ui_snapshot: Option<EvidenceRef>,
pub ui_snapshot_omission: Option<UiSnapshotOmissionReason>,
}Expand description
A localized observation record (spine §6.6; omissions are typed data).
Fields§
§observation_id: StringProvider-scoped observation id.
captured_at_ms: u64Capture timestamp (ms since epoch).
viewport: Option<Viewport>The capture-time viewport, verbatim from the provider observation
(M3a additive close of the registered W1 gap; absent on ledgers
recorded before the field existed, or when the provider reported
a non-finite scale factor — the runner refuses to persist a value
serde_json would write as null and never read back).
Compat note: the additive claim is one-directional — readers
built before this field existed reject ledgers containing it
(deny_unknown_fields, fail-closed per R12); binary downgrade
against a store written by a newer runner is unsupported.
screenshot: Option<EvidenceRef>Localized screenshot evidence, when captured.
screenshot_omission: Option<ScreenshotOmissionReason>Why the screenshot was legitimately omitted.
ui_snapshot: Option<EvidenceRef>Localized UI-tree evidence, when captured.
ui_snapshot_omission: Option<UiSnapshotOmissionReason>Why the UI snapshot was legitimately omitted.
Trait Implementations§
Source§impl Clone for ObservationRecord
impl Clone for ObservationRecord
Source§fn clone(&self) -> ObservationRecord
fn clone(&self) -> ObservationRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ObservationRecord
impl Debug for ObservationRecord
Source§impl<'de> Deserialize<'de> for ObservationRecord
impl<'de> Deserialize<'de> for ObservationRecord
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>,
Source§impl JsonSchema for ObservationRecord
impl JsonSchema for ObservationRecord
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more