pub struct GraftedItem {
pub chain_seq: u64,
pub content_hash: String,
pub kind: String,
pub state: NodeState,
pub score: f32,
pub content: GraftContent,
}Expand description
One item grafted into the working set (ADR-058 Phase 3.2).
Keyed by chain sequence and carrying a verifiable provenance backref
(chain_seq + content_hash): the agent can produce the witness chain for
any grafted context.
Fields§
§chain_seq: u64ExoChain sequence — the universal key / provenance backref.
content_hash: StringBLAKE3 content identity — dedup key + provenance.
kind: StringOriginating event kind.
state: NodeStateCausal-model state of the grafted node.
score: f32Similarity score that selected this item (higher is closer).
content: GraftContentCOW reference to the item’s content.
Trait Implementations§
Source§impl Clone for GraftedItem
impl Clone for GraftedItem
Auto Trait Implementations§
impl Freeze for GraftedItem
impl RefUnwindSafe for GraftedItem
impl Send for GraftedItem
impl Sync for GraftedItem
impl Unpin for GraftedItem
impl UnsafeUnpin for GraftedItem
impl UnwindSafe for GraftedItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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