pub struct Checks {
pub plan: Box<Plan>,
pub messages: Vec<String>,
}Expand description
The CHECK constraints of a table, bound as one query over it.
The query answers, for each row the table holds, whether each constraint fails on it. The write runs it with the table standing in for the rows it wrote, so a failed constraint is found before anything the statement wrote is kept.
Fields§
§plan: Box<Plan>One boolean column per constraint, true where the row fails it. A null is a pass.
messages: Vec<String>The pin’s message for each constraint, in the same order as the columns.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Checks
impl !UnwindSafe for Checks
impl Freeze for Checks
impl Send for Checks
impl Sync for Checks
impl Unpin for Checks
impl UnsafeUnpin for Checks
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