Struct probly_search::DocumentDetails
source · pub struct DocumentDetails<T> {
pub key: T,
pub field_length: Vec<usize>,
}
Expand description
Document Details object stores additional information about documents.
Fields§
§key: T
Document key can be a simple unique ID or a direct reference to original document.
field_length: Vec<usize>
Field lengths is an array that contains number of terms in each indexed text field.
Trait Implementations§
source§impl<T: Debug> Debug for DocumentDetails<T>
impl<T: Debug> Debug for DocumentDetails<T>
source§impl<T: PartialEq> PartialEq for DocumentDetails<T>
impl<T: PartialEq> PartialEq for DocumentDetails<T>
source§fn eq(&self, other: &DocumentDetails<T>) -> bool
fn eq(&self, other: &DocumentDetails<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for DocumentDetails<T>
impl<T> StructuralPartialEq for DocumentDetails<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for DocumentDetails<T>where
T: RefUnwindSafe,
impl<T> Send for DocumentDetails<T>where
T: Send,
impl<T> Sync for DocumentDetails<T>where
T: Sync,
impl<T> Unpin for DocumentDetails<T>where
T: Unpin,
impl<T> UnwindSafe for DocumentDetails<T>where
T: UnwindSafe,
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