pub struct TermKey {
pub term: Vec<u8>,
pub field: FieldId,
}Expand description
The key a posting list hangs off: term first, so prefix scans work.
Fields§
§term: Vec<u8>The analyzed term.
field: FieldIdThe field the term occurred in.
Trait Implementations§
impl Eq for TermKey
Source§impl Ord for TermKey
impl Ord for TermKey
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 TermKey
impl PartialOrd for TermKey
impl StructuralPartialEq for TermKey
Auto Trait Implementations§
impl Freeze for TermKey
impl RefUnwindSafe for TermKey
impl Send for TermKey
impl Sync for TermKey
impl Unpin for TermKey
impl UnsafeUnpin for TermKey
impl UnwindSafe for TermKey
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