pub struct PostMemoryRecallEvent {
pub session_id: String,
pub query: String,
pub memory_type: String,
pub facts_retrieved: usize,
pub success: bool,
pub error: Option<String>,
}Expand description
Post-memory-recall event payload
Fields§
§session_id: String§query: String§memory_type: String§facts_retrieved: usize§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for PostMemoryRecallEvent
impl Clone for PostMemoryRecallEvent
Source§fn clone(&self) -> PostMemoryRecallEvent
fn clone(&self) -> PostMemoryRecallEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostMemoryRecallEvent
impl Debug for PostMemoryRecallEvent
Source§impl<'de> Deserialize<'de> for PostMemoryRecallEvent
impl<'de> Deserialize<'de> for PostMemoryRecallEvent
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 PostMemoryRecallEvent
impl RefUnwindSafe for PostMemoryRecallEvent
impl Send for PostMemoryRecallEvent
impl Sync for PostMemoryRecallEvent
impl Unpin for PostMemoryRecallEvent
impl UnsafeUnpin for PostMemoryRecallEvent
impl UnwindSafe for PostMemoryRecallEvent
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