pub struct SearchOutput {
pub results: Vec<SearchResult>,
pub total: usize,
pub truncated: bool,
}Expand description
Bounded ranked search response.
Fields§
§results: Vec<SearchResult>Ranked matches.
total: usizeTotal matches before limiting.
truncated: boolWhether matches were omitted.
Trait Implementations§
Source§impl Clone for SearchOutput
impl Clone for SearchOutput
Source§impl Debug for SearchOutput
impl Debug for SearchOutput
Source§impl<'de> Deserialize<'de> for SearchOutput
impl<'de> Deserialize<'de> for SearchOutput
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 Eq for SearchOutput
Source§impl PartialEq for SearchOutput
impl PartialEq for SearchOutput
Source§impl Serialize for SearchOutput
impl Serialize for SearchOutput
impl StructuralPartialEq for SearchOutput
Auto Trait Implementations§
impl Freeze for SearchOutput
impl RefUnwindSafe for SearchOutput
impl Send for SearchOutput
impl Sync for SearchOutput
impl Unpin for SearchOutput
impl UnsafeUnpin for SearchOutput
impl UnwindSafe for SearchOutput
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