pub struct LiveReexecution {Show 16 fields
pub schema: String,
pub decision_id: String,
pub plan_id: PlanId,
pub snapshot_id: SnapshotId,
pub evaluation_time_ms: Timestamp,
pub subject: Handle,
pub scope: Scope,
pub historical: Historical,
pub admission: Admission,
pub run_digest: Option<ContentDigest>,
pub run: RunLink,
pub effects: Vec<LiveEffect>,
pub unreconciled: Vec<String>,
pub delivery: DeliveryObservation,
pub retention: RetentionPosture,
pub comparison: ComparisonSection,
}Expand description
rustev.live-reexecution/1: one live re-execution, bounded by
REPLAY_V1. Holds no credential and no secret authorization material.
Fields§
§schema: String§decision_id: StringThe new decision; never the historical one.
plan_id: PlanId§snapshot_id: SnapshotIdComputed from the current snapshot by the runtime.
evaluation_time_ms: Timestamp§subject: Handle§scope: Scope§historical: Historical§admission: Admission§run_digest: Option<ContentDigest>The record digest of the new run record; absent only when the record has no record canonical form, which nothing then matches.
run: RunLink§effects: Vec<LiveEffect>One per proposed external attempt, in proposal order.
unreconciled: Vec<String>Attempts whose charge is unknown: outstanding liability for the host to reconcile (spec 003, 3.5.5). The record is never rewritten.
delivery: DeliveryObservation§retention: RetentionPosture§comparison: ComparisonSectionImplementations§
Trait Implementations§
Source§impl Clone for LiveReexecution
impl Clone for LiveReexecution
Source§impl Debug for LiveReexecution
impl Debug for LiveReexecution
Source§impl<'de> Deserialize<'de> for LiveReexecution
impl<'de> Deserialize<'de> for LiveReexecution
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 Document for LiveReexecution
impl Document for LiveReexecution
Source§const SCHEMA: &'static str = schema::LIVE_REEXECUTION
const SCHEMA: &'static str = schema::LIVE_REEXECUTION
The schema string this document carries (spec 002, 3.2.1).
Source§const LIMITS: ParseLimits = REPLAY_V1
const LIMITS: ParseLimits = REPLAY_V1
The limit set its bytes are scanned against (spec 002, 3.2.5).
Source§fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
Scan, deserialize and check the schema string.
Source§fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
The record canonical bytes (spec 004, 5.6): the canonical bytes, with
finite fractional numbers written in shortest round-trip form.
Source§fn record_digest(&self) -> Result<ContentDigest, CanonicalError>where
Self: PartialEq,
fn record_digest(&self) -> Result<ContentDigest, CanonicalError>where
Self: PartialEq,
sha256(SCHEMA || 0x00 || record canonical bytes) (spec 004, 3.1.6).
Equal to the identity of an identified document.impl Eq for LiveReexecution
Source§impl JsonSchema for LiveReexecution
impl JsonSchema for LiveReexecution
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LiveReexecution
impl PartialEq for LiveReexecution
Source§impl Serialize for LiveReexecution
impl Serialize for LiveReexecution
impl StructuralPartialEq for LiveReexecution
Auto Trait Implementations§
impl Freeze for LiveReexecution
impl RefUnwindSafe for LiveReexecution
impl Send for LiveReexecution
impl Sync for LiveReexecution
impl Unpin for LiveReexecution
impl UnsafeUnpin for LiveReexecution
impl UnwindSafe for LiveReexecution
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