pub struct Posting {
pub id: RecordId,
pub weight: Weight,
pub tail_max: Weight,
}Expand description
One element of a posting list.
Fields§
§id: RecordIdRecord the weight belongs to.
weight: WeightWeight of the record on the list’s dimension.
tail_max: WeightMaximum weight over this element and every element after it in the list. See the module documentation for the invariant.
Implementations§
Trait Implementations§
impl Copy for Posting
impl StructuralPartialEq for Posting
Auto Trait Implementations§
impl Freeze for Posting
impl RefUnwindSafe for Posting
impl Send for Posting
impl Sync for Posting
impl Unpin for Posting
impl UnsafeUnpin for Posting
impl UnwindSafe for Posting
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