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