pub struct SearchMemoryParams {
pub query: String,
pub project_id: Option<Uuid>,
pub include_global: bool,
pub project_only: bool,
pub global_only: bool,
pub cross_project: bool,
pub memory_type: Option<MemoryType>,
pub top_k: usize,
pub min_score: f32,
pub working_dir: Option<String>,
}Fields§
§query: String§project_id: Option<Uuid>§include_global: bool§project_only: bool§global_only: bool§cross_project: bool§memory_type: Option<MemoryType>§top_k: usize§min_score: f32§working_dir: Option<String>Trait Implementations§
Source§impl Clone for SearchMemoryParams
impl Clone for SearchMemoryParams
Source§fn clone(&self) -> SearchMemoryParams
fn clone(&self) -> SearchMemoryParams
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 SearchMemoryParams
impl Debug for SearchMemoryParams
Source§impl<'de> Deserialize<'de> for SearchMemoryParams
impl<'de> Deserialize<'de> for SearchMemoryParams
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 SearchMemoryParams
impl RefUnwindSafe for SearchMemoryParams
impl Send for SearchMemoryParams
impl Sync for SearchMemoryParams
impl Unpin for SearchMemoryParams
impl UnsafeUnpin for SearchMemoryParams
impl UnwindSafe for SearchMemoryParams
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