pub struct ConstraintSpec {
pub column: i32,
pub op: ConstraintOp,
pub usable: bool,
}Expand description
One constraint the query offers the module.
Fields§
§column: i32Which column, or ROWID_COLUMN.
op: ConstraintOpThe comparison.
usable: boolWhether the value is available at the time this loop runs.
A constraint against a table the loop has not reached yet is offered but
not usable, which is how one best_index answer serves every position
the term could take in the join order.
Trait Implementations§
Source§impl Clone for ConstraintSpec
impl Clone for ConstraintSpec
impl Copy for ConstraintSpec
Source§impl Debug for ConstraintSpec
impl Debug for ConstraintSpec
impl Eq for ConstraintSpec
Source§impl PartialEq for ConstraintSpec
impl PartialEq for ConstraintSpec
impl StructuralPartialEq for ConstraintSpec
Auto Trait Implementations§
impl Freeze for ConstraintSpec
impl RefUnwindSafe for ConstraintSpec
impl Send for ConstraintSpec
impl Sync for ConstraintSpec
impl Unpin for ConstraintSpec
impl UnsafeUnpin for ConstraintSpec
impl UnwindSafe for ConstraintSpec
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