pub struct DefaultSort {
pub field: String,
pub order: SortOrder,
}Fields§
§field: String§order: SortOrderTrait Implementations§
Source§impl Clone for DefaultSort
impl Clone for DefaultSort
Source§fn clone(&self) -> DefaultSort
fn clone(&self) -> DefaultSort
Returns a duplicate 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 DefaultSort
impl Debug for DefaultSort
Source§impl Default for DefaultSort
impl Default for DefaultSort
Source§fn default() -> DefaultSort
fn default() -> DefaultSort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultSortwhere
DefaultSort: Default,
impl<'de> Deserialize<'de> for DefaultSortwhere
DefaultSort: Default,
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 PartialEq for DefaultSort
impl PartialEq for DefaultSort
Source§impl Serialize for DefaultSort
impl Serialize for DefaultSort
impl StructuralPartialEq for DefaultSort
Auto Trait Implementations§
impl Freeze for DefaultSort
impl RefUnwindSafe for DefaultSort
impl Send for DefaultSort
impl Sync for DefaultSort
impl Unpin for DefaultSort
impl UnsafeUnpin for DefaultSort
impl UnwindSafe for DefaultSort
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