pub struct MatchPhrasePrefix { /* private fields */ }Implementations§
Source§impl MatchPhrasePrefix
impl MatchPhrasePrefix
pub fn new() -> Self
pub fn field<T: Into<String>>(self, field: T) -> Self
pub fn value<T: Into<Value>>(self, val: T) -> Self
pub fn query<T: Into<Value>>(self, value: T) -> Self
pub fn slop<T: Into<u64>>(self, slop: T) -> Self
pub fn analyzer<T: Into<String>>(self, analyzer: T) -> Self
pub fn max_expansions<T: Into<u64>>(self, max_expansions: T) -> Self
Trait Implementations§
Source§impl Clone for MatchPhrasePrefix
impl Clone for MatchPhrasePrefix
Source§fn clone(&self) -> MatchPhrasePrefix
fn clone(&self) -> MatchPhrasePrefix
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 MatchPhrasePrefix
impl Debug for MatchPhrasePrefix
Source§impl Default for MatchPhrasePrefix
impl Default for MatchPhrasePrefix
Source§fn default() -> MatchPhrasePrefix
fn default() -> MatchPhrasePrefix
Returns the “default value” for a type. Read more
Source§impl From<MatchPhrasePrefix> for QueryField
impl From<MatchPhrasePrefix> for QueryField
Source§fn from(val: MatchPhrasePrefix) -> Self
fn from(val: MatchPhrasePrefix) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MatchPhrasePrefix
impl RefUnwindSafe for MatchPhrasePrefix
impl Send for MatchPhrasePrefix
impl Sync for MatchPhrasePrefix
impl Unpin for MatchPhrasePrefix
impl UnwindSafe for MatchPhrasePrefix
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