pub struct RecallStatement {
pub filters: Vec<Filter>,
pub condition: Option<Condition>,
pub near: Option<Vec<f32>>,
pub limit: Option<usize>,
pub order_by: Option<OrderBy>,
}Fields§
§filters: Vec<Filter>The top-level ANDed leaf filters. For a pure a AND b AND c WHERE clause
this holds every filter and condition is None, so the planner keeps all
its index optimizations. When the WHERE uses OR, NOT, or parentheses,
condition carries the full boolean tree and this is empty.
condition: Option<Condition>The full boolean WHERE expression, set only when it is not a pure AND of leaves (i.e. it contains OR, NOT, or grouping). When present, the executor evaluates this tree; the planner falls back to a full scan and lets the post-filter decide, so results are always correct even if less optimized.
near: Option<Vec<f32>>§limit: Option<usize>§order_by: Option<OrderBy>Trait Implementations§
Source§impl Clone for RecallStatement
impl Clone for RecallStatement
Source§fn clone(&self) -> RecallStatement
fn clone(&self) -> RecallStatement
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 RecallStatement
impl Debug for RecallStatement
Source§impl<'de> Deserialize<'de> for RecallStatement
impl<'de> Deserialize<'de> for RecallStatement
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 RecallStatement
impl PartialEq for RecallStatement
Source§impl Serialize for RecallStatement
impl Serialize for RecallStatement
impl StructuralPartialEq for RecallStatement
Auto Trait Implementations§
impl Freeze for RecallStatement
impl RefUnwindSafe for RecallStatement
impl Send for RecallStatement
impl Sync for RecallStatement
impl Unpin for RecallStatement
impl UnsafeUnpin for RecallStatement
impl UnwindSafe for RecallStatement
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