pub struct InjectionState {
pub session_id: String,
pub formatted_text: String,
pub injected_memory_ids: Vec<String>,
pub updated_at: DateTime<Utc>,
pub skipped: Vec<SkippedMemory>,
pub phase: InjectionPhase,
}Fields§
§session_id: String§formatted_text: String§injected_memory_ids: Vec<String>§updated_at: DateTime<Utc>§skipped: Vec<SkippedMemory>Candidates dropped during this injection, with reasons — kept so the proxy can answer “why didn’t memory X reach the model?” after the fact.
phase: InjectionPhaseWhich phase produced this state.
Auto Trait Implementations§
impl Freeze for InjectionState
impl RefUnwindSafe for InjectionState
impl Send for InjectionState
impl Sync for InjectionState
impl Unpin for InjectionState
impl UnsafeUnpin for InjectionState
impl UnwindSafe for InjectionState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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