pub struct RecallResult {
pub answer_kind: String,
pub memories: Vec<MemoryHit>,
pub trace: Option<String>,
}Expand description
recall result.
Fields§
§answer_kind: String§memories: Vec<MemoryHit>§trace: Option<String>The read-pipeline trace as a JSON string, present only when
include_trace was asked for and the server supports it. A string
rather than a parsed value because its ids are 128-bit integers that a
JSON number would round; parse it with a big-integer-safe reader.
Trait Implementations§
Source§impl Clone for RecallResult
impl Clone for RecallResult
Source§impl Debug for RecallResult
impl Debug for RecallResult
Source§impl<'de> Deserialize<'de> for RecallResult
impl<'de> Deserialize<'de> for RecallResult
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 RecallResult
impl RefUnwindSafe for RecallResult
impl Send for RecallResult
impl Sync for RecallResult
impl Unpin for RecallResult
impl UnsafeUnpin for RecallResult
impl UnwindSafe for RecallResult
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