pub struct Memory {Show 20 fields
pub id: String,
pub memory_type: String,
pub context: String,
pub action: String,
pub result: String,
pub score: f32,
pub embedding_context: Option<Vec<u8>>,
pub embedding_action: Option<Vec<u8>>,
pub embedding_result: Option<Vec<u8>>,
pub indexed: bool,
pub tags: Option<String>,
pub project: Option<String>,
pub parent_id: Option<String>,
pub source_ids: Option<String>,
pub insight_type: Option<String>,
pub created_at: String,
pub updated_at: String,
pub used_count: i64,
pub last_used_at: Option<String>,
pub superseded_by: Option<String>,
}Fields§
§id: String§memory_type: String§context: String§action: String§result: String§score: f32§embedding_context: Option<Vec<u8>>§embedding_action: Option<Vec<u8>>§embedding_result: Option<Vec<u8>>§indexed: bool§project: Option<String>§parent_id: Option<String>§source_ids: Option<String>§insight_type: Option<String>§created_at: String§updated_at: String§used_count: i64§last_used_at: Option<String>§superseded_by: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Memory
impl<'de> Deserialize<'de> for Memory
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 Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnsafeUnpin for Memory
impl UnwindSafe for Memory
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