pub struct TopMemory {
pub source_id: String,
pub content: String,
pub memory_type: Option<String>,
pub space: Option<String>,
pub times_retrieved: u64,
}Expand description
A top-accessed memory for the home dashboard.
Fields§
§source_id: String§content: String§memory_type: Option<String>§space: Option<String>§times_retrieved: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopMemory
impl<'de> Deserialize<'de> for TopMemory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TopMemory
impl RefUnwindSafe for TopMemory
impl Send for TopMemory
impl Sync for TopMemory
impl Unpin for TopMemory
impl UnsafeUnpin for TopMemory
impl UnwindSafe for TopMemory
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