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