pub struct SegKey(pub u64);Expand description
Durable identity of a sub-document segment: xxh3 of the owning key plus the segment’s heading path, so a re-crawl that keeps a heading keeps the segment’s identity (and any enrichment attached to it).
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for SegKey
impl Eq for SegKey
Source§impl Ord for SegKey
impl Ord for SegKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SegKey
impl PartialOrd for SegKey
impl StructuralPartialEq for SegKey
Auto Trait Implementations§
impl Freeze for SegKey
impl RefUnwindSafe for SegKey
impl Send for SegKey
impl Sync for SegKey
impl Unpin for SegKey
impl UnsafeUnpin for SegKey
impl UnwindSafe for SegKey
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