pub struct QueryHints {
pub force_index: Option<String>,
pub disable_bloom_filter: bool,
pub preferred_parallelization: Option<usize>,
pub timeout_ms: Option<u64>,
}Expand description
Query hints and optimization settings
Fields§
§force_index: Option<String>Force index usage
disable_bloom_filter: boolDisable bloom filter
preferred_parallelization: Option<usize>Preferred parallelization
timeout_ms: Option<u64>Query timeout
Trait Implementations§
Source§impl Clone for QueryHints
impl Clone for QueryHints
Source§fn clone(&self) -> QueryHints
fn clone(&self) -> QueryHints
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 QueryHints
impl Debug for QueryHints
Source§impl Default for QueryHints
impl Default for QueryHints
Source§fn default() -> QueryHints
fn default() -> QueryHints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryHints
impl RefUnwindSafe for QueryHints
impl Send for QueryHints
impl Sync for QueryHints
impl Unpin for QueryHints
impl UnsafeUnpin for QueryHints
impl UnwindSafe for QueryHints
Blanket Implementations§
impl<T> Allocation for T
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