#[non_exhaustive]pub enum SortDirection {
Asc,
Desc,
Other(String),
}Expand description
Sort direction of the log, cron and scheduled-run lists.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Asc
Ascending.
Desc
Descending.
Other(String)
A value this version of the crate does not know, exactly as the engine spelled it.
Implementations§
Trait Implementations§
Source§impl Clone for SortDirection
impl Clone for SortDirection
Source§impl Debug for SortDirection
impl Debug for SortDirection
Source§impl<'de> Deserialize<'de> for SortDirection
impl<'de> Deserialize<'de> for SortDirection
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SortDirection
impl Display for SortDirection
impl Eq for SortDirection
Source§impl Hash for SortDirection
impl Hash for SortDirection
Source§impl PartialEq for SortDirection
impl PartialEq for SortDirection
Source§impl Serialize for SortDirection
impl Serialize for SortDirection
impl StructuralPartialEq for SortDirection
Auto Trait Implementations§
impl Forget for SortDirection
impl Freeze for SortDirection
impl Move for SortDirection
impl RefUnwindSafe for SortDirection
impl Send for SortDirection
impl Sync for SortDirection
impl Unpin for SortDirection
impl UnsafeUnpin for SortDirection
impl UnwindSafe for SortDirection
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