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