pub struct PostingScore {
pub doc_id: DocId,
pub term_freq: u64,
pub doc_length: u64,
}Fields§
§doc_id: DocId§term_freq: u64§doc_length: u64Trait Implementations§
Source§impl Clone for PostingScore
impl Clone for PostingScore
Source§fn clone(&self) -> PostingScore
fn clone(&self) -> PostingScore
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 moreimpl Copy for PostingScore
Source§impl Debug for PostingScore
impl Debug for PostingScore
impl Eq for PostingScore
Source§impl PartialEq for PostingScore
impl PartialEq for PostingScore
impl StructuralPartialEq for PostingScore
Auto Trait Implementations§
impl Freeze for PostingScore
impl RefUnwindSafe for PostingScore
impl Send for PostingScore
impl Sync for PostingScore
impl Unpin for PostingScore
impl UnsafeUnpin for PostingScore
impl UnwindSafe for PostingScore
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