pub enum SubjectSearchSort {
Match,
Heat,
Rank,
Score,
}Expand description
条目搜索排序方式枚举
定义搜索结果的排序规则
Variants§
Trait Implementations§
Source§impl Clone for SubjectSearchSort
impl Clone for SubjectSearchSort
Source§fn clone(&self) -> SubjectSearchSort
fn clone(&self) -> SubjectSearchSort
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 SubjectSearchSort
impl Debug for SubjectSearchSort
Source§impl<'de> Deserialize<'de> for SubjectSearchSort
impl<'de> Deserialize<'de> for SubjectSearchSort
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 SubjectSearchSort
impl RefUnwindSafe for SubjectSearchSort
impl Send for SubjectSearchSort
impl Sync for SubjectSearchSort
impl Unpin for SubjectSearchSort
impl UnwindSafe for SubjectSearchSort
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