pub struct IndexConstraint {
pub column: i32,
pub op: ConstraintOp,
pub usable: bool,
}Expand description
A single constraint from the WHERE clause that the planner is considering.
Fields§
§column: i32Column index (0-based; -1 for rowid).
op: ConstraintOpThe comparison operator.
usable: boolWhether the planner considers this constraint usable.
Trait Implementations§
Source§impl Clone for IndexConstraint
impl Clone for IndexConstraint
Source§fn clone(&self) -> IndexConstraint
fn clone(&self) -> IndexConstraint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexConstraint
impl RefUnwindSafe for IndexConstraint
impl Send for IndexConstraint
impl Sync for IndexConstraint
impl Unpin for IndexConstraint
impl UnsafeUnpin for IndexConstraint
impl UnwindSafe for IndexConstraint
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