pub struct MemoryRecord {
pub id: i64,
pub content: String,
pub source: String,
pub timestamp: i64,
pub tier: i32,
pub recall_count: i32,
pub error_flag: i32,
pub entropy: f64,
}Expand description
Memory record
Fields§
§id: i64§content: String§source: String§timestamp: i64§tier: i32§recall_count: i32§error_flag: i32§entropy: f64Trait Implementations§
Source§impl Clone for MemoryRecord
impl Clone for MemoryRecord
Auto Trait Implementations§
impl Freeze for MemoryRecord
impl RefUnwindSafe for MemoryRecord
impl Send for MemoryRecord
impl Sync for MemoryRecord
impl Unpin for MemoryRecord
impl UnsafeUnpin for MemoryRecord
impl UnwindSafe for MemoryRecord
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