Enum migration::SelectDistinct
source · pub enum SelectDistinct {
All,
Distinct,
DistinctRow,
DistinctOn(Vec<ColumnRef>),
}
Expand description
List of distinct keywords that can be used in select statement
Variants§
Trait Implementations§
source§impl Clone for SelectDistinct
impl Clone for SelectDistinct
source§fn clone(&self) -> SelectDistinct
fn clone(&self) -> SelectDistinct
Returns a copy 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 SelectDistinct
impl Debug for SelectDistinct
source§impl PartialEq for SelectDistinct
impl PartialEq for SelectDistinct
source§fn eq(&self, other: &SelectDistinct) -> bool
fn eq(&self, other: &SelectDistinct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelectDistinct
Auto Trait Implementations§
impl Freeze for SelectDistinct
impl !RefUnwindSafe for SelectDistinct
impl Send for SelectDistinct
impl Sync for SelectDistinct
impl Unpin for SelectDistinct
impl !UnwindSafe for SelectDistinct
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