pub struct RecallQuery {
pub scope: MemoryScope,
pub query_text: String,
pub max_items: usize,
pub token_budget: Option<usize>,
pub filters: RecallFilters,
pub include_explanation: bool,
}Fields§
§scope: MemoryScope§query_text: String§max_items: usize§token_budget: Option<usize>§filters: RecallFilters§include_explanation: boolTrait Implementations§
Source§impl Clone for RecallQuery
impl Clone for RecallQuery
Source§fn clone(&self) -> RecallQuery
fn clone(&self) -> RecallQuery
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 Debug for RecallQuery
impl Debug for RecallQuery
Source§impl<'de> Deserialize<'de> for RecallQuery
impl<'de> Deserialize<'de> for RecallQuery
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
Source§impl PartialEq for RecallQuery
impl PartialEq for RecallQuery
Source§fn eq(&self, other: &RecallQuery) -> bool
fn eq(&self, other: &RecallQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecallQuery
impl Serialize for RecallQuery
impl StructuralPartialEq for RecallQuery
Auto Trait Implementations§
impl Freeze for RecallQuery
impl RefUnwindSafe for RecallQuery
impl Send for RecallQuery
impl Sync for RecallQuery
impl Unpin for RecallQuery
impl UnsafeUnpin for RecallQuery
impl UnwindSafe for RecallQuery
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