pub struct MemoryPromote {
pub source_chain_seqs: Vec<u64>,
pub content_hashes: Vec<String>,
pub durable_fact: String,
}Expand description
A memory.promote chain event (ADR-058 Phase 4.3 / ADR-020 ChainLoggable).
Records which source chain sequences were distilled into a durable fact, so long-term memory carries auditable lineage back to its witnesses.
Fields§
§source_chain_seqs: Vec<u64>Source ExoChain sequences distilled into the durable fact.
content_hashes: Vec<String>Their content-addressed identities (provenance).
durable_fact: StringThe distilled durable fact promoted onto the trunk (L3).
Trait Implementations§
Source§impl ChainLoggable for MemoryPromote
Available on crate feature exochain only.
impl ChainLoggable for MemoryPromote
Available on crate feature
exochain only.Source§fn chain_event_source(&self) -> &str
fn chain_event_source(&self) -> &str
The source subsystem (e.g. “supervisor”, “governance”, “ipc”).
Source§fn chain_event_kind(&self) -> &str
fn chain_event_kind(&self) -> &str
The event kind string (e.g. “agent.restart”, “governance.deny”).
Source§fn chain_event_payload(&self) -> Value
fn chain_event_payload(&self) -> Value
Build the JSON payload for the chain event.
Auto Trait Implementations§
impl Freeze for MemoryPromote
impl RefUnwindSafe for MemoryPromote
impl Send for MemoryPromote
impl Sync for MemoryPromote
impl Unpin for MemoryPromote
impl UnsafeUnpin for MemoryPromote
impl UnwindSafe for MemoryPromote
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
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> ⓘ
Converts
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> ⓘ
Converts
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