Struct probly_search::FieldDetails
source · pub struct FieldDetails {
pub sum: usize,
pub avg: f64,
}
Expand description
Field Details contains additional information about fields.
Fields§
§sum: usize
Sum of field lengths in all documents.
avg: f64
Average of field lengths in all documents.
Trait Implementations§
source§impl Clone for FieldDetails
impl Clone for FieldDetails
source§fn clone(&self) -> FieldDetails
fn clone(&self) -> FieldDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FieldDetails
impl Debug for FieldDetails
source§impl PartialEq for FieldDetails
impl PartialEq for FieldDetails
source§fn eq(&self, other: &FieldDetails) -> bool
fn eq(&self, other: &FieldDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldDetails
Auto Trait Implementations§
impl RefUnwindSafe for FieldDetails
impl Send for FieldDetails
impl Sync for FieldDetails
impl Unpin for FieldDetails
impl UnwindSafe for FieldDetails
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