Skip to main content

HasWhere

Trait HasWhere 

Source
pub trait HasWhere {
    // Required method
    fn where_mut(&mut self) -> &mut Where;
}
Expand description

Anything with a WHERE clause.

Implemented by Where itself, and — because ON CONFLICT nests two of them — by ConflictClause and ConflictTarget, so that a where_ mod written once applies in all three places.

Required Methods§

Source

fn where_mut(&mut self) -> &mut Where

The WHERE clause to modify.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§