pub struct StoreMemoryRequest {
pub content: String,
pub memory_type: Option<String>,
pub space: Option<String>,
pub source_agent: Option<String>,
pub title: Option<String>,
pub confidence: Option<f32>,
pub supersedes: Option<String>,
pub entity: Option<String>,
pub entity_id: Option<String>,
pub structured_fields: Option<Value>,
pub retrieval_cue: Option<String>,
}Fields§
§content: String§memory_type: Option<String>§space: Option<String>§source_agent: Option<String>§title: Option<String>§confidence: Option<f32>§supersedes: Option<String>§entity: Option<String>Entity name for resolution (e.g. “Alice”, “PostgreSQL”)
entity_id: Option<String>Direct entity ID (bypasses name resolution)
structured_fields: Option<Value>§retrieval_cue: Option<String>Trait Implementations§
Source§impl Debug for StoreMemoryRequest
impl Debug for StoreMemoryRequest
Source§impl<'de> Deserialize<'de> for StoreMemoryRequest
impl<'de> Deserialize<'de> for StoreMemoryRequest
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 StoreMemoryRequest
impl RefUnwindSafe for StoreMemoryRequest
impl Send for StoreMemoryRequest
impl Sync for StoreMemoryRequest
impl Unpin for StoreMemoryRequest
impl UnsafeUnpin for StoreMemoryRequest
impl UnwindSafe for StoreMemoryRequest
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