pub struct CheckRecord {
pub ts: u64,
pub entity: String,
pub verdict: String,
pub method: Option<String>,
pub entity_hash: String,
pub actor: String,
pub client: Option<String>,
pub role: String,
pub identity: Option<String>,
pub kind: Option<String>,
pub schema_ref: Option<String>,
}Expand description
One recorded check — the full ledger line.
Fields§
§ts: u64Unix epoch seconds at record time.
entity: StringFull entity id (mem--slug).
verdict: Stringok | failed.
method: Option<String>Optional free-text method note (“diffed against source spec”, “re-ran the derivation”).
entity_hash: StringThe entity’s content_hash at check time — the staleness
baseline.
actor: StringRecorded actor identity (plan-13 provenance).
client: Option<String>Recorded client identity (name@version), when known.
role: StringThe caller-declared role, or "unspecified" — recorded
honestly; downstream gates treat unspecified as
cannot-confirm, never as any real role.
identity: Option<String>The caller-declared identity (agent-trust plan 15): an opaque
caller-chosen string, the ONLY comparator the independence
gate uses. Absent on ledger lines written before identities
existed and on identity-less callers — both downgrade every
comparison to unconfirmable, never to a guessed category.
kind: Option<String>The check kind, from CHECK_KINDS. Absent on ledger lines
written before kinds existed AND on freshly recorded
verification checks — both read as verification, so an
existing ledger upgrades with no migration and a kind-omitted
caller’s lines stay byte-identical to before.
schema_ref: Option<String>For conformance records: the mem’s schema pin
(name@x.y.z) as stamped by the engine at record time — never
caller-supplied, so a verdict cannot claim a prose version the
caller never read. Absent on verification records.
Implementations§
Source§impl CheckRecord
impl CheckRecord
Sourcepub fn resolved_kind(&self) -> CheckKind
pub fn resolved_kind(&self) -> CheckKind
The record’s kind, legacy lines included: an absent or
unrecognised kind reads as verification, which is exactly
what every pre-kind line was.
Trait Implementations§
Source§impl Clone for CheckRecord
impl Clone for CheckRecord
Source§fn clone(&self) -> CheckRecord
fn clone(&self) -> CheckRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CheckRecord
impl Debug for CheckRecord
Source§impl<'de> Deserialize<'de> for CheckRecord
impl<'de> Deserialize<'de> for CheckRecord
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>,
Auto Trait Implementations§
impl Freeze for CheckRecord
impl RefUnwindSafe for CheckRecord
impl Send for CheckRecord
impl Sync for CheckRecord
impl Unpin for CheckRecord
impl UnsafeUnpin for CheckRecord
impl UnwindSafe for CheckRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more