pub struct MatchRule { /* private fields */ }Implementations§
Source§impl MatchRule
impl MatchRule
pub fn new() -> Self
pub fn query<T: Into<String> + Serialize>(self, query: T) -> Self
pub fn analyzer<T: Into<String> + Serialize>(self, analyzer: T) -> Self
pub fn max_gaps<T: Into<i64> + Serialize>(self, max_gaps: T) -> Self
pub fn ordered<T: Into<bool> + Serialize>(self, ordered: T) -> Self
pub fn use_field<T: Into<String> + Serialize>(self, use_field: T) -> Self
pub fn filter<T: Into<FilterRule> + Serialize>(self, filter: T) -> Self
Trait Implementations§
Source§impl From<MatchRule> for IntervalRule
impl From<MatchRule> for IntervalRule
Auto Trait Implementations§
impl Freeze for MatchRule
impl RefUnwindSafe for MatchRule
impl Send for MatchRule
impl Sync for MatchRule
impl Unpin for MatchRule
impl UnwindSafe for MatchRule
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