pub struct LedgerEntry {
pub entry_id: Uuid,
pub agent_id: AgentId,
pub claim_ref: ClaimRef,
pub event_kind: LedgerEventKind,
pub disposition: Disposition,
pub rationale: Option<Value>,
pub recorded_at: TransactionTime,
}Expand description
Immutable audit record appended on every disposition event by the AuditLedger.
Fields§
§entry_id: UuidUnique ID for this ledger entry (random UUID, minted at write time).
agent_id: AgentIdThe agent that owns the claim this entry is about.
claim_ref: ClaimRefThe claim this ledger entry is recording a transition for.
event_kind: LedgerEventKindThe event type that triggered this ledger entry.
disposition: DispositionThe disposition assigned to the claim at the time of this entry.
rationale: Option<Value>Rationale and measured estimators from the adjudication gate (for replay audit).
recorded_at: TransactionTimeEngine-stamped.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
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 LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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
Auto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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