#[non_exhaustive]pub enum SnippetListSortFields {
Name,
CreatedAt,
UpdatedAt,
}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.
Implementations§
Trait Implementations§
source§impl Clone for SnippetListSortFields
impl Clone for SnippetListSortFields
source§fn clone(&self) -> SnippetListSortFields
fn clone(&self) -> SnippetListSortFields
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 SnippetListSortFields
impl Debug for SnippetListSortFields
source§impl<'de> Deserialize<'de> for SnippetListSortFields
impl<'de> Deserialize<'de> for SnippetListSortFields
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<'_derivative_strum> From<&'_derivative_strum SnippetListSortFields> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SnippetListSortFields> for &'static str
source§fn from(x: &'_derivative_strum SnippetListSortFields) -> &'static str
fn from(x: &'_derivative_strum SnippetListSortFields) -> &'static str
Converts to this type from the input type.
source§impl From<SnippetListSortFields> for &'static str
impl From<SnippetListSortFields> for &'static str
source§fn from(x: SnippetListSortFields) -> &'static str
fn from(x: SnippetListSortFields) -> &'static str
Converts to this type from the input type.
source§impl PartialEq for SnippetListSortFields
impl PartialEq for SnippetListSortFields
source§fn eq(&self, other: &SnippetListSortFields) -> bool
fn eq(&self, other: &SnippetListSortFields) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SnippetListSortFields
impl Serialize for SnippetListSortFields
source§impl SortField for SnippetListSortFields
impl SortField for SnippetListSortFields
fn default_sort_field() -> Self
fn default_sort_direction() -> SortDirection
impl Copy for SnippetListSortFields
impl Eq for SnippetListSortFields
impl StructuralPartialEq for SnippetListSortFields
Auto Trait Implementations§
impl Freeze for SnippetListSortFields
impl RefUnwindSafe for SnippetListSortFields
impl Send for SnippetListSortFields
impl Sync for SnippetListSortFields
impl Unpin for SnippetListSortFields
impl UnwindSafe for SnippetListSortFields
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