pub struct SearchReport {
pub results: Vec<MergedResult>,
pub failures: Vec<Failure>,
pub skipped: Vec<String>,
pub metrics: Vec<ProviderMetric>,
}Expand description
The outcome of one search: ranked results plus per-provider failures.
Fields§
§results: Vec<MergedResult>Ranked, deduplicated hits across every provider that answered.
failures: Vec<Failure>One entry per provider that failed; never aborts the search.
skipped: Vec<String>Providers skipped because their declared capabilities reject the query.
metrics: Vec<ProviderMetric>Per-provider counts and timings, sorted by provider name. Carries no
query or result content; see ProviderMetric.
Auto Trait Implementations§
impl Freeze for SearchReport
impl RefUnwindSafe for SearchReport
impl Send for SearchReport
impl Sync for SearchReport
impl Unpin for SearchReport
impl UnsafeUnpin for SearchReport
impl UnwindSafe for SearchReport
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