Struct elasticsearch_dsl::search::TotalHits
source · [−]pub struct TotalHits {
pub value: u64,
pub relation: TotalHitsRelation,
}
Expand description
Total number of matched documents
Fields
value: u64
Number of total documents
relation: TotalHitsRelation
Relation to total number of matched documents
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TotalHits
impl<'de> Deserialize<'de> for TotalHits
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for TotalHits
impl StructuralPartialEq for TotalHits
Auto Trait Implementations
impl RefUnwindSafe for TotalHits
impl Send for TotalHits
impl Sync for TotalHits
impl Unpin for TotalHits
impl UnwindSafe for TotalHits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more