pub struct HybridQuery {Show 13 fields
pub table: String,
pub tenant_id: String,
pub cursor: Option<String>,
pub text_field: Option<String>,
pub text: Option<String>,
pub vector_field: Option<String>,
pub vector: Option<Vec<f32>>,
pub scalar_eq: Map<String, Value>,
pub graph_seed: Option<String>,
pub temporal_as_of: Option<u64>,
pub top_k: usize,
pub freshness: FreshnessMode,
pub explain: bool,
}Fields§
§table: String§tenant_id: String§cursor: Option<String>§text_field: Option<String>§text: Option<String>§vector_field: Option<String>§vector: Option<Vec<f32>>§scalar_eq: Map<String, Value>§graph_seed: Option<String>§temporal_as_of: Option<u64>§top_k: usize§freshness: FreshnessMode§explain: boolTrait Implementations§
Source§impl Clone for HybridQuery
impl Clone for HybridQuery
Source§fn clone(&self) -> HybridQuery
fn clone(&self) -> HybridQuery
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 HybridQuery
impl Debug for HybridQuery
Source§impl<'de> Deserialize<'de> for HybridQuery
impl<'de> Deserialize<'de> for HybridQuery
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 HybridQuery
impl PartialEq for HybridQuery
Source§fn eq(&self, other: &HybridQuery) -> bool
fn eq(&self, other: &HybridQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HybridQuery
impl Serialize for HybridQuery
impl StructuralPartialEq for HybridQuery
Auto Trait Implementations§
impl Freeze for HybridQuery
impl RefUnwindSafe for HybridQuery
impl Send for HybridQuery
impl Sync for HybridQuery
impl Unpin for HybridQuery
impl UnsafeUnpin for HybridQuery
impl UnwindSafe for HybridQuery
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