pub struct DecisionPayload {
pub requests: Vec<ReusedRequestPayload>,
pub volatile: Vec<Entry>,
pub judgment: ContentDigest,
pub run_record: ContentDigest,
}Expand description
A judged decision’s reusable work (spec 044, 3.6.4). It holds no judgment to serve: the core recomputes every served judgment (3.6.3).
Fields§
§requests: Vec<ReusedRequestPayload>Each request outside the refresh closure, by step then instance.
volatile: Vec<Entry>The source decision’s snapshot entries of its volatile inputs, as supplied, for a failed refresh (3.6.5).
judgment: ContentDigestThe record digest of the source decision’s judgment.
run_record: ContentDigestThe record digest of the source decision’s run record.
Trait Implementations§
Source§impl Clone for DecisionPayload
impl Clone for DecisionPayload
Source§impl Debug for DecisionPayload
impl Debug for DecisionPayload
Source§impl<'de> Deserialize<'de> for DecisionPayload
impl<'de> Deserialize<'de> for DecisionPayload
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 JsonSchema for DecisionPayload
impl JsonSchema for DecisionPayload
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 DecisionPayload
impl PartialEq for DecisionPayload
Source§impl Serialize for DecisionPayload
impl Serialize for DecisionPayload
impl StructuralPartialEq for DecisionPayload
Auto Trait Implementations§
impl Freeze for DecisionPayload
impl RefUnwindSafe for DecisionPayload
impl Send for DecisionPayload
impl Sync for DecisionPayload
impl Unpin for DecisionPayload
impl UnsafeUnpin for DecisionPayload
impl UnwindSafe for DecisionPayload
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