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§
Source§impl<'de> Deserialize<'de> for TotalHits
impl<'de> Deserialize<'de> for TotalHits
Source§fn 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 Eq for TotalHits
impl StructuralPartialEq for TotalHits
Auto Trait Implementations§
impl Freeze for TotalHits
impl RefUnwindSafe for TotalHits
impl Send for TotalHits
impl Sync for TotalHits
impl Unpin for TotalHits
impl UnwindSafe for TotalHits
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