pub struct HistoricalLink {
pub decision_id: String,
pub plan_id: PlanId,
pub snapshot_id: SnapshotId,
pub evaluation_time_ms: Timestamp,
pub bundle_digest: ContentDigest,
}Expand description
A historical case, linked by digest and identities only: never embedded historical content (spec 026, 3.7).
Fields§
§decision_id: String§plan_id: PlanId§snapshot_id: SnapshotId§evaluation_time_ms: Timestamp§bundle_digest: ContentDigestThe record digest of the rustev.replay/1 bundle.
Implementations§
Source§impl HistoricalLink
impl HistoricalLink
Sourcepub fn of(bundle: &ReplayBundle) -> Result<Self, CanonicalError>
pub fn of(bundle: &ReplayBundle) -> Result<Self, CanonicalError>
The link to a retained bundle: its identities and digest, nothing it retains. Reading a bundle’s own members resolves no item.
Trait Implementations§
Source§impl Clone for HistoricalLink
impl Clone for HistoricalLink
Source§impl Debug for HistoricalLink
impl Debug for HistoricalLink
Source§impl<'de> Deserialize<'de> for HistoricalLink
impl<'de> Deserialize<'de> for HistoricalLink
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 Eq for HistoricalLink
Source§impl JsonSchema for HistoricalLink
impl JsonSchema for HistoricalLink
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 HistoricalLink
impl PartialEq for HistoricalLink
Source§impl Serialize for HistoricalLink
impl Serialize for HistoricalLink
impl StructuralPartialEq for HistoricalLink
Auto Trait Implementations§
impl Freeze for HistoricalLink
impl RefUnwindSafe for HistoricalLink
impl Send for HistoricalLink
impl Sync for HistoricalLink
impl Unpin for HistoricalLink
impl UnsafeUnpin for HistoricalLink
impl UnwindSafe for HistoricalLink
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