pub enum ConstraintCheckTime {
Deferred,
Immediate,
}Expand description
The SQL constraint check time forms represented by the AST.
Variants§
Deferred
DEFERRED — check the constraints at transaction commit.
Immediate
IMMEDIATE — check the constraints at the end of each statement.
Trait Implementations§
Source§impl Clone for ConstraintCheckTime
impl Clone for ConstraintCheckTime
Source§fn clone(&self) -> ConstraintCheckTime
fn clone(&self) -> ConstraintCheckTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstraintCheckTime
Source§impl Debug for ConstraintCheckTime
impl Debug for ConstraintCheckTime
Source§impl<'de> Deserialize<'de> for ConstraintCheckTime
impl<'de> Deserialize<'de> for ConstraintCheckTime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConstraintCheckTime
Source§impl Hash for ConstraintCheckTime
impl Hash for ConstraintCheckTime
Source§impl PartialEq for ConstraintCheckTime
impl PartialEq for ConstraintCheckTime
Source§impl Render for ConstraintCheckTime
impl Render for ConstraintCheckTime
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for ConstraintCheckTime
impl Serialize for ConstraintCheckTime
impl StructuralPartialEq for ConstraintCheckTime
Auto Trait Implementations§
impl Freeze for ConstraintCheckTime
impl RefUnwindSafe for ConstraintCheckTime
impl Send for ConstraintCheckTime
impl Sync for ConstraintCheckTime
impl Unpin for ConstraintCheckTime
impl UnsafeUnpin for ConstraintCheckTime
impl UnwindSafe for ConstraintCheckTime
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