pub struct BoundaryCrossing {
pub node: NodeRecord,
pub became_valid_at: Option<i64>,
pub became_invalid_at: Option<i64>,
}Expand description
0.8.20 Slice 10b (R-20-NV) — one node that crossed a validity boundary
inside the interrogated interval, as reported by
Engine::crossed_boundary_since.
A node can cross BOTH boundaries in the same interval (a window that opened
and closed inside it), so the two fields are independent Options rather
than one enum.
Fields§
§node: NodeRecordThe node that crossed.
became_valid_at: Option<i64>Some(valid_from) when the node BECAME VALID inside the interval.
became_invalid_at: Option<i64>Some(valid_until) when the node BECAME INVALID inside the interval.
Trait Implementations§
Source§impl Clone for BoundaryCrossing
impl Clone for BoundaryCrossing
Source§fn clone(&self) -> BoundaryCrossing
fn clone(&self) -> BoundaryCrossing
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 BoundaryCrossing
impl Debug for BoundaryCrossing
impl Eq for BoundaryCrossing
Source§impl PartialEq for BoundaryCrossing
impl PartialEq for BoundaryCrossing
impl StructuralPartialEq for BoundaryCrossing
Auto Trait Implementations§
impl Freeze for BoundaryCrossing
impl RefUnwindSafe for BoundaryCrossing
impl Send for BoundaryCrossing
impl Sync for BoundaryCrossing
impl Unpin for BoundaryCrossing
impl UnsafeUnpin for BoundaryCrossing
impl UnwindSafe for BoundaryCrossing
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