pub struct SearchResults<T> {
pub documents: Vec<T>,
pub total: u64,
pub took: u64,
}Expand description
Search results wrapper
Fields§
§documents: Vec<T>§total: u64§took: u64Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SearchResults<T>
impl<T> RefUnwindSafe for SearchResults<T>where
T: RefUnwindSafe,
impl<T> Send for SearchResults<T>where
T: Send,
impl<T> Sync for SearchResults<T>where
T: Sync,
impl<T> Unpin for SearchResults<T>where
T: Unpin,
impl<T> UnwindSafe for SearchResults<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