pub struct ToolObservationMemoryRecordV1 {
pub tool_name: String,
pub invocation_id: String,
pub session_id: Option<String>,
pub scope: String,
pub summary: String,
pub status: String,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub receipt_id: Option<String>,
}Expand description
Serializable record written to semantic-memory for a completed or failed tool run.
Fields§
§tool_name: StringTool descriptor name.
invocation_id: StringStable invocation identifier for this tool call.
session_id: Option<String>Optional session identifier used to scope retrieval.
scope: StringRetrieval scope/namespace; authorization decisions must not be based on similarity.
summary: StringSearchable human-readable summary of the observation.
status: StringTool status, such as success, error, or cancelled.
started_at: Option<String>Optional RFC3339 start timestamp.
completed_at: Option<String>Optional RFC3339 completion timestamp.
receipt_id: Option<String>Optional durable tool receipt id.
Trait Implementations§
Source§impl Clone for ToolObservationMemoryRecordV1
impl Clone for ToolObservationMemoryRecordV1
Source§fn clone(&self) -> ToolObservationMemoryRecordV1
fn clone(&self) -> ToolObservationMemoryRecordV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ToolObservationMemoryRecordV1
impl<'de> Deserialize<'de> for ToolObservationMemoryRecordV1
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 ToolObservationMemoryRecordV1
impl StructuralPartialEq for ToolObservationMemoryRecordV1
Auto Trait Implementations§
impl Freeze for ToolObservationMemoryRecordV1
impl RefUnwindSafe for ToolObservationMemoryRecordV1
impl Send for ToolObservationMemoryRecordV1
impl Sync for ToolObservationMemoryRecordV1
impl Unpin for ToolObservationMemoryRecordV1
impl UnsafeUnpin for ToolObservationMemoryRecordV1
impl UnwindSafe for ToolObservationMemoryRecordV1
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