pub struct MemoryEntry {
pub id: String,
pub scope: MemoryScope,
pub title: String,
pub text: String,
pub author: Option<String>,
pub updated: String,
}Expand description
A stored note.
Fields§
§id: StringId in the knowledge bundle (memory/users/zalo-shop/u1/coffee).
scope: MemoryScopeWho it is for.
title: StringTitle.
text: StringThe note.
platform:instance/user of the author.
updated: StringLast update (YYYY-MM-DD).
Trait Implementations§
Source§impl Clone for MemoryEntry
impl Clone for MemoryEntry
Source§impl Debug for MemoryEntry
impl Debug for MemoryEntry
Source§impl<'de> Deserialize<'de> for MemoryEntry
impl<'de> Deserialize<'de> for MemoryEntry
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
impl Eq for MemoryEntry
Source§impl PartialEq for MemoryEntry
impl PartialEq for MemoryEntry
Source§impl Serialize for MemoryEntry
impl Serialize for MemoryEntry
impl StructuralPartialEq for MemoryEntry
Auto Trait Implementations§
impl Freeze for MemoryEntry
impl RefUnwindSafe for MemoryEntry
impl Send for MemoryEntry
impl Sync for MemoryEntry
impl Unpin for MemoryEntry
impl UnsafeUnpin for MemoryEntry
impl UnwindSafe for MemoryEntry
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