pub enum NullsDistinctOption {
None,
Distinct,
NotDistinct,
}Expand description
PostgreSQL unique index nulls handling option: [ NULLS [ NOT ] DISTINCT ]
Variants§
Trait Implementations§
Source§impl AsNodeKey for NullsDistinctOption
impl AsNodeKey for NullsDistinctOption
fn as_node_key(&self) -> NodeKey<'_>
Source§impl Clone for NullsDistinctOption
impl Clone for NullsDistinctOption
Source§fn clone(&self) -> NullsDistinctOption
fn clone(&self) -> NullsDistinctOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NullsDistinctOption
impl Debug for NullsDistinctOption
Source§impl Display for NullsDistinctOption
impl Display for NullsDistinctOption
Source§impl Hash for NullsDistinctOption
impl Hash for NullsDistinctOption
Source§impl Ord for NullsDistinctOption
impl Ord for NullsDistinctOption
Source§fn cmp(&self, other: &NullsDistinctOption) -> Ordering
fn cmp(&self, other: &NullsDistinctOption) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NullsDistinctOption
impl PartialEq for NullsDistinctOption
Source§impl PartialOrd for NullsDistinctOption
impl PartialOrd for NullsDistinctOption
Source§impl<'ast> Transformable<'ast> for NullsDistinctOption
impl<'ast> Transformable<'ast> for NullsDistinctOption
Source§impl Visitable for NullsDistinctOption
impl Visitable for NullsDistinctOption
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl Eq for NullsDistinctOption
impl StructuralPartialEq for NullsDistinctOption
Auto Trait Implementations§
impl Freeze for NullsDistinctOption
impl RefUnwindSafe for NullsDistinctOption
impl Send for NullsDistinctOption
impl Sync for NullsDistinctOption
impl Unpin for NullsDistinctOption
impl UnwindSafe for NullsDistinctOption
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