pub struct SupplyEntry {
pub step: String,
pub instance: Vec<String>,
pub request: RequestId,
pub sequence: u64,
pub attempt_id: Option<String>,
pub target: u32,
pub value: RetentionItem,
pub failure_context: Option<CapturedFailureContext>,
}Expand description
One value successfully supplied to the core.
Fields§
§step: String§instance: Vec<String>§request: RequestIdThe identity of the request for the producing target (spec 004, 3.2); the document is recomputed from the retained plan and snapshot.
sequence: u64Actual supply order, contiguous from 0.
attempt_id: Option<String>The attempt that produced the value (spec 004, 3.2); none when nothing was dispatched or a retry or fallback followed the last one.
target: u32The target the value came from (0 is the primary, then declared
fallbacks): the producing target of an output; for a failure, the to
of the last fallback transition, else 0.
value: RetentionItemA rustev.backend-output/1 or rustev.runtime-reason/1 document.
failure_context: Option<CapturedFailureContext>Replay 2: runtime facts needed to recompute an actionability cause.
Trait Implementations§
Source§impl Clone for SupplyEntry
impl Clone for SupplyEntry
Source§impl Debug for SupplyEntry
impl Debug for SupplyEntry
Source§impl<'de> Deserialize<'de> for SupplyEntry
impl<'de> Deserialize<'de> for SupplyEntry
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 SupplyEntry
Source§impl JsonSchema for SupplyEntry
impl JsonSchema for SupplyEntry
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 SupplyEntry
impl PartialEq for SupplyEntry
Source§impl Serialize for SupplyEntry
impl Serialize for SupplyEntry
impl StructuralPartialEq for SupplyEntry
Auto Trait Implementations§
impl Freeze for SupplyEntry
impl RefUnwindSafe for SupplyEntry
impl Send for SupplyEntry
impl Sync for SupplyEntry
impl Unpin for SupplyEntry
impl UnsafeUnpin for SupplyEntry
impl UnwindSafe for SupplyEntry
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