pub struct MemoryListItemDto {
pub memory_id: String,
pub text: String,
pub kind: u8,
pub state: u8,
pub created_at_unix_nanos: u64,
pub occurred_at_unix_nanos: u64,
pub last_accessed_at_unix_nanos: u64,
pub salience: f32,
pub access_count: u32,
pub statement_count: u32,
pub entity_count: u32,
pub relation_count: u32,
}Expand description
One memory in a GET /v1/memories page. Carries the enumeration fields
plus typed-graph handle counts so a UI row can show link counts without a
second call.
Fields§
§memory_id: String128-bit memory id, decimal string.
text: String§kind: u80 = Episodic, 1 = Semantic, 2 = Consolidated.
state: u80 = active, 1 = tombstoned.
created_at_unix_nanos: u64§occurred_at_unix_nanos: u64§last_accessed_at_unix_nanos: u64§salience: f32§access_count: u32§statement_count: u32§entity_count: u32§relation_count: u32Trait Implementations§
Source§impl Debug for MemoryListItemDto
impl Debug for MemoryListItemDto
Source§impl From<MemoryListItem> for MemoryListItemDto
impl From<MemoryListItem> for MemoryListItemDto
Source§fn from(m: MemoryListItem) -> Self
fn from(m: MemoryListItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryListItemDto
impl RefUnwindSafe for MemoryListItemDto
impl Send for MemoryListItemDto
impl Sync for MemoryListItemDto
impl Unpin for MemoryListItemDto
impl UnsafeUnpin for MemoryListItemDto
impl UnwindSafe for MemoryListItemDto
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