pub struct Deferrable {
pub constraint: u32,
pub deferred: bool,
}Expand description
A DEFERRABLE unique constraint. A write does not fail on a duplicate key of its index: unique_key_recheck checks the key again after the statement, or at the commit when the constraint is deferred.
Fields§
§constraint: u32The OID of the constraint, for the modes of SET CONSTRAINTS.
deferred: boolcondeferred: the constraint is INITIALLY DEFERRED.
Trait Implementations§
Source§impl Clone for Deferrable
impl Clone for Deferrable
impl Copy for Deferrable
Source§impl Debug for Deferrable
impl Debug for Deferrable
impl Eq for Deferrable
Source§impl PartialEq for Deferrable
impl PartialEq for Deferrable
impl StructuralPartialEq for Deferrable
Auto Trait Implementations§
impl Freeze for Deferrable
impl RefUnwindSafe for Deferrable
impl Send for Deferrable
impl Sync for Deferrable
impl Unpin for Deferrable
impl UnsafeUnpin for Deferrable
impl UnwindSafe for Deferrable
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