pub struct Hits<T: Clone> {
pub total: Option<HitsTotal>,
pub max_score: Option<f32>,
pub hits: Option<Vec<Hit<T>>>,
}
Fields§
§total: Option<HitsTotal>
§max_score: Option<f32>
§hits: Option<Vec<Hit<T>>>
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Hits<T>where
T: Deserialize<'de> + Clone,
impl<'de, T> Deserialize<'de> for Hits<T>where
T: Deserialize<'de> + Clone,
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
Auto Trait Implementations§
impl<T> Freeze for Hits<T>
impl<T> RefUnwindSafe for Hits<T>where
T: RefUnwindSafe,
impl<T> Send for Hits<T>where
T: Send,
impl<T> Sync for Hits<T>where
T: Sync,
impl<T> Unpin for Hits<T>where
T: Unpin,
impl<T> UnwindSafe for Hits<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