pub struct TemporalRewrite {
pub residual_query: String,
pub after_ms: Option<i64>,
pub before_ms: Option<i64>,
pub matched_phrase: String,
}Expand description
A temporal phrase resolved against the injected reference now_ms.
Fields§
§residual_query: StringThe query with the matched phrase removed and whitespace collapsed.
after_ms: Option<i64>Keep nodes created at or after this UTC ms timestamp (None = unbounded).
before_ms: Option<i64>Keep nodes created strictly before this UTC ms timestamp (None = unbounded).
matched_phrase: StringExactly what matched, original casing preserved (surfaces later in
applied_time_filter.matched_phrase).
Trait Implementations§
Source§impl Clone for TemporalRewrite
impl Clone for TemporalRewrite
Source§fn clone(&self) -> TemporalRewrite
fn clone(&self) -> TemporalRewrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TemporalRewrite
impl Debug for TemporalRewrite
impl Eq for TemporalRewrite
Source§impl PartialEq for TemporalRewrite
impl PartialEq for TemporalRewrite
Source§impl Serialize for TemporalRewrite
impl Serialize for TemporalRewrite
impl StructuralPartialEq for TemporalRewrite
Auto Trait Implementations§
impl Freeze for TemporalRewrite
impl RefUnwindSafe for TemporalRewrite
impl Send for TemporalRewrite
impl Sync for TemporalRewrite
impl Unpin for TemporalRewrite
impl UnsafeUnpin for TemporalRewrite
impl UnwindSafe for TemporalRewrite
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