pub enum ViewCheckOption {
Unspecified,
Cascaded,
Local,
}Expand description
WITH [ CASCADED | LOCAL ] CHECK OPTION on a regular (non-materialized) view.
Variants§
Unspecified
Bare WITH CHECK OPTION; PostgreSQL treats the unqualified form as CASCADED.
Cascaded
WITH CASCADED CHECK OPTION — enforce the check on this and all underlying views.
Local
WITH LOCAL CHECK OPTION — enforce the check on this view only.
Trait Implementations§
Source§impl Clone for ViewCheckOption
impl Clone for ViewCheckOption
Source§fn clone(&self) -> ViewCheckOption
fn clone(&self) -> ViewCheckOption
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 ViewCheckOption
Source§impl Debug for ViewCheckOption
impl Debug for ViewCheckOption
Source§impl<'de> Deserialize<'de> for ViewCheckOption
impl<'de> Deserialize<'de> for ViewCheckOption
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 ViewCheckOption
Source§impl Hash for ViewCheckOption
impl Hash for ViewCheckOption
Source§impl PartialEq for ViewCheckOption
impl PartialEq for ViewCheckOption
Source§impl Render for ViewCheckOption
impl Render for ViewCheckOption
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 ViewCheckOption
impl Serialize for ViewCheckOption
impl StructuralPartialEq for ViewCheckOption
Auto Trait Implementations§
impl Freeze for ViewCheckOption
impl RefUnwindSafe for ViewCheckOption
impl Send for ViewCheckOption
impl Sync for ViewCheckOption
impl Unpin for ViewCheckOption
impl UnsafeUnpin for ViewCheckOption
impl UnwindSafe for ViewCheckOption
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