pub struct MemoryRow {Show 13 fields
pub id: i64,
pub namespace: String,
pub name: String,
pub memory_type: String,
pub description: String,
pub body: String,
pub body_hash: String,
pub session_id: Option<String>,
pub source: String,
pub metadata: String,
pub created_at: i64,
pub updated_at: i64,
pub deleted_at: Option<i64>,
}Expand description
Fully materialized row from the memories table.
Returned by read_by_name, read_full, list and fts_search.
The metadata field is kept as a JSON string to avoid double parsing.
Fields§
§id: i64§namespace: String§name: String§memory_type: String§description: String§body: String§body_hash: String§session_id: Option<String>§source: String§metadata: String§created_at: i64§updated_at: i64§deleted_at: Option<i64>Unix epoch when the memory was soft-deleted, or None for active memories.
Surfaced in list --include-deleted --json so LLM consumers can distinguish
active from soft-deleted rows without a second SQL query (v1.0.37 H7+M9 fix).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryRow
impl RefUnwindSafe for MemoryRow
impl Send for MemoryRow
impl Sync for MemoryRow
impl Unpin for MemoryRow
impl UnsafeUnpin for MemoryRow
impl UnwindSafe for MemoryRow
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