pub struct CoreSortItem {
pub property: Vec<String>,
pub order: Option<CoreSortOrder>,
pub nulls: Option<CoreSortNulls>,
}Expand description
Sort by a specific property
Fields§
§property: Vec<String>Property to sort by.
order: Option<CoreSortOrder>Sort order. Defaults to Asc.
nulls: Option<CoreSortNulls>Null behavior. Defaults to Auto.
Trait Implementations§
Source§impl Clone for CoreSortItem
impl Clone for CoreSortItem
Source§fn clone(&self) -> CoreSortItem
fn clone(&self) -> CoreSortItem
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 CoreSortItem
impl Debug for CoreSortItem
Source§impl Default for CoreSortItem
impl Default for CoreSortItem
Source§fn default() -> CoreSortItem
fn default() -> CoreSortItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreSortItem
impl<'de> Deserialize<'de> for CoreSortItem
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 CoreSortItem
impl RefUnwindSafe for CoreSortItem
impl Send for CoreSortItem
impl Sync for CoreSortItem
impl Unpin for CoreSortItem
impl UnwindSafe for CoreSortItem
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