Enum prql_compiler::ast::query::SortDirection
source · [−]pub enum SortDirection {
Asc,
Desc,
}
Variants
Asc
Desc
Trait Implementations
sourceimpl Clone for SortDirection
impl Clone for SortDirection
sourcefn clone(&self) -> SortDirection
fn clone(&self) -> SortDirection
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SortDirection
impl Debug for SortDirection
sourceimpl Default for SortDirection
impl Default for SortDirection
sourceimpl<'de> Deserialize<'de> for SortDirection
impl<'de> Deserialize<'de> for SortDirection
sourcefn 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
sourceimpl PartialEq<SortDirection> for SortDirection
impl PartialEq<SortDirection> for SortDirection
sourcefn eq(&self, other: &SortDirection) -> bool
fn eq(&self, other: &SortDirection) -> bool
sourceimpl Serialize for SortDirection
impl Serialize for SortDirection
impl Eq for SortDirection
impl StructuralEq for SortDirection
impl StructuralPartialEq for SortDirection
Auto Trait Implementations
impl RefUnwindSafe for SortDirection
impl Send for SortDirection
impl Sync for SortDirection
impl Unpin for SortDirection
impl UnwindSafe for SortDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.