pub struct GroupSort {
pub template: Vec<GroupSortKey>,
}Expand description
Per-group sorting specification.
Sorting follows a template of sort keys, applied in order. The first key is the primary sort, second is the tiebreaker, etc.
Fields§
§template: Vec<GroupSortKey>Ordered list of sort keys to apply.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupSort
impl<'de> Deserialize<'de> for GroupSort
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupSort, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupSort, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GroupSort
Source§impl Serialize for GroupSort
impl Serialize for GroupSort
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GroupSort
Auto Trait Implementations§
impl Freeze for GroupSort
impl RefUnwindSafe for GroupSort
impl Send for GroupSort
impl Sync for GroupSort
impl Unpin for GroupSort
impl UnsafeUnpin for GroupSort
impl UnwindSafe for GroupSort
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.