pub struct SortParams {
pub sort_by: Option<String>,
pub sort_order: SortOrder,
}Fields§
§sort_by: Option<String>§sort_order: SortOrderTrait Implementations§
Source§impl Clone for SortParams
impl Clone for SortParams
Source§fn clone(&self) -> SortParams
fn clone(&self) -> SortParams
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 SortParams
impl Debug for SortParams
Source§impl<'de> Deserialize<'de> for SortParams
impl<'de> Deserialize<'de> for SortParams
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
Auto Trait Implementations§
impl Freeze for SortParams
impl RefUnwindSafe for SortParams
impl Send for SortParams
impl Sync for SortParams
impl Unpin for SortParams
impl UnwindSafe for SortParams
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