pub struct StoreMemoryInput {
pub tenant_id: String,
pub scope: String,
pub memory_type: MemoryType,
pub content: String,
pub source_agent: AgentId,
pub source_task: TaskId,
pub evidence_id: Option<EvidenceId>,
pub confidence: f64,
pub classification: String,
}Expand description
Input for storing a new memory.
Fields§
§tenant_id: String§scope: String§memory_type: MemoryType§content: String§source_agent: AgentId§source_task: TaskId§evidence_id: Option<EvidenceId>§confidence: f64§classification: StringAuto Trait Implementations§
impl Freeze for StoreMemoryInput
impl RefUnwindSafe for StoreMemoryInput
impl Send for StoreMemoryInput
impl Sync for StoreMemoryInput
impl Unpin for StoreMemoryInput
impl UnsafeUnpin for StoreMemoryInput
impl UnwindSafe for StoreMemoryInput
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