pub enum SortDirection {
Asc,
Desc,
}
Expand description
Sort direction
Variants§
Trait Implementations§
Source§impl Clone for SortDirection
impl Clone for SortDirection
Source§fn clone(&self) -> SortDirection
fn clone(&self) -> SortDirection
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 SortDirection
impl Debug for SortDirection
Source§impl Default for SortDirection
impl Default for SortDirection
Source§fn default() -> SortDirection
fn default() -> SortDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortDirection
impl<'de> Deserialize<'de> for SortDirection
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
Source§impl Serialize for SortDirection
impl Serialize for SortDirection
impl Copy for SortDirection
Auto Trait Implementations§
impl Freeze for SortDirection
impl RefUnwindSafe for SortDirection
impl Send for SortDirection
impl Sync for SortDirection
impl Unpin for SortDirection
impl UnwindSafe for SortDirection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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