pub enum HistoricalRetention {
NoHistory,
NotObserved,
Observed {
observed_at_ms: Timestamp,
bundle_expires_at_ms: Timestamp,
unavailable: Vec<ItemObservation>,
},
}Expand description
What is known of the historical case’s retention. Live re-execution never extends it and never restores an item (spec 026, 3.7).
Variants§
NoHistory
No historical case is linked.
NotObserved
Linked, and not resolved: the runtime reads only the link.
Observed
Observed at comparison time.
Trait Implementations§
Source§impl Clone for HistoricalRetention
impl Clone for HistoricalRetention
Source§impl Debug for HistoricalRetention
impl Debug for HistoricalRetention
Source§impl<'de> Deserialize<'de> for HistoricalRetention
impl<'de> Deserialize<'de> for HistoricalRetention
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 HistoricalRetention
Source§impl JsonSchema for HistoricalRetention
impl JsonSchema for HistoricalRetention
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 HistoricalRetention
impl PartialEq for HistoricalRetention
Source§impl Serialize for HistoricalRetention
impl Serialize for HistoricalRetention
impl StructuralPartialEq for HistoricalRetention
Auto Trait Implementations§
impl Freeze for HistoricalRetention
impl RefUnwindSafe for HistoricalRetention
impl Send for HistoricalRetention
impl Sync for HistoricalRetention
impl Unpin for HistoricalRetention
impl UnsafeUnpin for HistoricalRetention
impl UnwindSafe for HistoricalRetention
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