pub struct Regexp { /* private fields */ }
Implementations§
Source§impl Regexp
impl Regexp
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 max_determinized_states<T: Into<u64> + Serialize>( self, max_determinized_states: T, ) -> Self
pub fn rewrite<T: Into<Rewrite> + Serialize>(self, rewrite: T) -> Self
pub fn flags<T: Into<RegexpFlag> + Serialize>(self, flags: T) -> Self
Trait Implementations§
Source§impl From<Regexp> for QueryField
impl From<Regexp> for QueryField
Auto Trait Implementations§
impl Freeze for Regexp
impl RefUnwindSafe for Regexp
impl Send for Regexp
impl Sync for Regexp
impl Unpin for Regexp
impl UnwindSafe for Regexp
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