pub enum SessionSearchSort {
Auto,
Relevance,
UpdatedDesc,
}Expand description
Stable ordering requested by the caller.
Variants§
Auto
Provider selects relevance for text and updated time for browsing.
Relevance
Relevance descending with stable updated/identity tie breakers.
UpdatedDesc
Session update time descending, then session id descending.
Trait Implementations§
Source§impl Clone for SessionSearchSort
impl Clone for SessionSearchSort
Source§fn clone(&self) -> SessionSearchSort
fn clone(&self) -> SessionSearchSort
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionSearchSort
Source§impl Debug for SessionSearchSort
impl Debug for SessionSearchSort
Source§impl Default for SessionSearchSort
impl Default for SessionSearchSort
Source§fn default() -> SessionSearchSort
fn default() -> SessionSearchSort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSearchSort
impl<'de> Deserialize<'de> for SessionSearchSort
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
impl Eq for SessionSearchSort
Source§impl Ord for SessionSearchSort
impl Ord for SessionSearchSort
Source§fn cmp(&self, other: &SessionSearchSort) -> Ordering
fn cmp(&self, other: &SessionSearchSort) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SessionSearchSort
impl PartialEq for SessionSearchSort
Source§impl PartialOrd for SessionSearchSort
impl PartialOrd for SessionSearchSort
Source§impl Serialize for SessionSearchSort
impl Serialize for SessionSearchSort
impl StructuralPartialEq for SessionSearchSort
Auto Trait Implementations§
impl Freeze for SessionSearchSort
impl RefUnwindSafe for SessionSearchSort
impl Send for SessionSearchSort
impl Sync for SessionSearchSort
impl Unpin for SessionSearchSort
impl UnsafeUnpin for SessionSearchSort
impl UnwindSafe for SessionSearchSort
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