pub struct SearchOptions {
pub matcher: Option<MatcherMode>,
pub case_sensitive: Option<CaseSensitivity>,
pub sort: Option<SortOrder>,
pub empty_query_sort: Option<SortOrder>,
pub limit: Option<usize>,
pub history_weight: Option<f64>,
}Fields§
§matcher: Option<MatcherMode>§case_sensitive: Option<CaseSensitivity>§sort: Option<SortOrder>§empty_query_sort: Option<SortOrder>§limit: Option<usize>§history_weight: Option<f64>Trait Implementations§
Source§impl Debug for SearchOptions
impl Debug for SearchOptions
Source§impl Default for SearchOptions
impl Default for SearchOptions
Source§impl<'de> Deserialize<'de> for SearchOptions
impl<'de> Deserialize<'de> for SearchOptions
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 Forget for SearchOptions
impl Freeze for SearchOptions
impl Move for SearchOptions
impl RefUnwindSafe for SearchOptions
impl Send for SearchOptions
impl Sync for SearchOptions
impl Unpin for SearchOptions
impl UnsafeUnpin for SearchOptionswhere
*const ArcInner<[(Key, bool)]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[(Key, bool)]>>: UnsafeUnpin,
impl UnwindSafe for SearchOptions
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