pub struct ProviderOutcome {
pub provider: String,
pub status: ProviderOutcomeStatus,
pub results: Vec<SearchResult>,
pub responses: Vec<TransportResponse>,
pub error: Option<ProviderError>,
}Expand description
Results, diagnostics, and exact captures for one provider.
Fields§
§provider: StringRequested provider id.
status: ProviderOutcomeStatusSuccess/error/unavailable status.
results: Vec<SearchResult>Unmerged results from this provider.
responses: Vec<TransportResponse>Every exact HTTP response observed for this provider.
error: Option<ProviderError>Structured error, when status is Error.
Trait Implementations§
Source§impl Clone for ProviderOutcome
impl Clone for ProviderOutcome
Source§fn clone(&self) -> ProviderOutcome
fn clone(&self) -> ProviderOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderOutcome
impl Debug for ProviderOutcome
Auto Trait Implementations§
impl Freeze for ProviderOutcome
impl RefUnwindSafe for ProviderOutcome
impl Send for ProviderOutcome
impl Sync for ProviderOutcome
impl Unpin for ProviderOutcome
impl UnsafeUnpin for ProviderOutcome
impl UnwindSafe for ProviderOutcome
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