pub struct Wildcard { /* private fields */ }Implementations§
Source§impl Wildcard
impl Wildcard
pub fn new() -> Self
pub fn field<T: Into<String> + Serialize>(self, field: T) -> Self
pub fn value<T: Into<String> + Serialize>(self, value: T) -> Self
pub fn boost<T: Into<f64> + Serialize>(self, boost: T) -> Self
pub fn case_insensitive<T: Into<bool> + Serialize>( self, case_insensitive: T, ) -> Self
pub fn rewrite<T: Into<Rewrite> + Serialize>(self, rewrite: T) -> Self
Trait Implementations§
Source§impl From<Wildcard> for QueryField
impl From<Wildcard> for QueryField
Auto Trait Implementations§
impl Freeze for Wildcard
impl RefUnwindSafe for Wildcard
impl Send for Wildcard
impl Sync for Wildcard
impl Unpin for Wildcard
impl UnwindSafe for Wildcard
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