pub struct PrioritySort {
pub nulls: Option<PaginationNulls>,
pub order: Option<PaginationSortOrder>,
pub no_priority_first: Option<bool>,
}Expand description
Issue priority sorting options.
Fields§
§nulls: Option<PaginationNulls>Whether nulls should be sorted first or last
order: Option<PaginationSortOrder>The order for the individual sort
no_priority_first: Option<bool>Whether to consider no priority as the highest or lowest priority
Trait Implementations§
Source§impl Clone for PrioritySort
impl Clone for PrioritySort
Source§fn clone(&self) -> PrioritySort
fn clone(&self) -> PrioritySort
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 PrioritySort
impl Debug for PrioritySort
Source§impl Default for PrioritySort
impl Default for PrioritySort
Source§fn default() -> PrioritySort
fn default() -> PrioritySort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrioritySort
impl<'de> Deserialize<'de> for PrioritySort
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 PrioritySort
impl RefUnwindSafe for PrioritySort
impl Send for PrioritySort
impl Sync for PrioritySort
impl Unpin for PrioritySort
impl UnwindSafe for PrioritySort
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