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