pub struct AssertionOutcomeRecord {
pub assert_id: AssertId,
pub result: VerdictStatus,
pub channel: Option<Channel>,
pub reason: String,
pub vision_judge: Option<VisionJudgeRecord>,
}Expand description
Outcome of one assertion evaluation along its verify chain (spine §6.6).
Fields§
§assert_id: AssertIdThe assertion’s id.
result: VerdictStatusThree-valued result (a chain that ran dry is unknown, never fail).
channel: Option<Channel>The channel that completed the evaluation, when one did.
reason: StringHuman-readable evaluation reason.
vision_judge: Option<VisionJudgeRecord>The vision judge that completed this evaluation, when the
completing channel was vision. Absent on ledgers recorded before
the field existed and on evaluations no vision model completed.
Compat note: the additive claim is one-directional, as for
ObservationRecord::viewport — readers built before this field
existed reject ledgers containing it (deny_unknown_fields,
fail-closed per R12).
Trait Implementations§
Source§impl Clone for AssertionOutcomeRecord
impl Clone for AssertionOutcomeRecord
Source§fn clone(&self) -> AssertionOutcomeRecord
fn clone(&self) -> AssertionOutcomeRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssertionOutcomeRecord
impl Debug for AssertionOutcomeRecord
Source§impl<'de> Deserialize<'de> for AssertionOutcomeRecord
impl<'de> Deserialize<'de> for AssertionOutcomeRecord
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 AssertionOutcomeRecord
impl JsonSchema for AssertionOutcomeRecord
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 AssertionOutcomeRecord
impl PartialEq for AssertionOutcomeRecord
Source§impl Serialize for AssertionOutcomeRecord
impl Serialize for AssertionOutcomeRecord
impl StructuralPartialEq for AssertionOutcomeRecord
Auto Trait Implementations§
impl Freeze for AssertionOutcomeRecord
impl RefUnwindSafe for AssertionOutcomeRecord
impl Send for AssertionOutcomeRecord
impl Sync for AssertionOutcomeRecord
impl Unpin for AssertionOutcomeRecord
impl UnsafeUnpin for AssertionOutcomeRecord
impl UnwindSafe for AssertionOutcomeRecord
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