pub struct CreatedRange {
pub after_ms: Option<i64>,
pub before_ms: Option<i64>,
}Expand description
Creation-time range filter for search results: a candidate survives iff
its node id’s ULID timestamp (crate::NodeId::timestamp_ms) is at or
after after_ms (when set) and strictly before before_ms (when set).
Applied wherever PropRetain applies — BEFORE top-k truncation (a
filtered hit never consumes the result window) and never access-bumped
on a dropped node. Both bounds set with after_ms >= before_ms is
rejected as a caller bug: an empty range is not an empty result.
Fields§
§after_ms: Option<i64>Keep nodes created at or after this ms timestamp (None = unbounded).
before_ms: Option<i64>Keep nodes created strictly before this ms timestamp (None = unbounded).
Trait Implementations§
Source§impl Clone for CreatedRange
impl Clone for CreatedRange
Source§fn clone(&self) -> CreatedRange
fn clone(&self) -> CreatedRange
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 moreAuto Trait Implementations§
impl Freeze for CreatedRange
impl RefUnwindSafe for CreatedRange
impl Send for CreatedRange
impl Sync for CreatedRange
impl Unpin for CreatedRange
impl UnsafeUnpin for CreatedRange
impl UnwindSafe for CreatedRange
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