pub struct ConstraintUsage {
pub argv_index: Option<u32>,
pub omit: bool,
}Expand description
Returned from xBestIndex to describe how the virtual table can use the constraints in the WHERE clause of a query.
Fields§
§argv_index: Option<u32>1 based index of the argument passed
omit: boolIf true, core can omit this constraint in the vdbe layer.
Trait Implementations§
Source§impl Clone for ConstraintUsage
impl Clone for ConstraintUsage
Source§fn clone(&self) -> ConstraintUsage
fn clone(&self) -> ConstraintUsage
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 moreimpl Copy for ConstraintUsage
Auto Trait Implementations§
impl Freeze for ConstraintUsage
impl RefUnwindSafe for ConstraintUsage
impl Send for ConstraintUsage
impl Sync for ConstraintUsage
impl Unpin for ConstraintUsage
impl UnsafeUnpin for ConstraintUsage
impl UnwindSafe for ConstraintUsage
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