pub struct RetrievalBackendStatus {
pub source: RetrieverSource,
pub state: RetrievalBackendState,
pub scope_post_filter: bool,
pub indexed_graph_version: Option<GraphVersion>,
pub reason: Option<String>,
}Expand description
Per-backend status preserved so callers can distinguish fallback from complete hybrid retrieval.
Fields§
§source: RetrieverSource§state: RetrievalBackendState§scope_post_filter: bool§indexed_graph_version: Option<GraphVersion>§reason: Option<String>Trait Implementations§
Source§impl Clone for RetrievalBackendStatus
impl Clone for RetrievalBackendStatus
Source§fn clone(&self) -> RetrievalBackendStatus
fn clone(&self) -> RetrievalBackendStatus
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 RetrievalBackendStatus
impl Debug for RetrievalBackendStatus
Source§impl<'de> Deserialize<'de> for RetrievalBackendStatus
impl<'de> Deserialize<'de> for RetrievalBackendStatus
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 RetrievalBackendStatus
Source§impl PartialEq for RetrievalBackendStatus
impl PartialEq for RetrievalBackendStatus
Source§impl Serialize for RetrievalBackendStatus
impl Serialize for RetrievalBackendStatus
impl StructuralPartialEq for RetrievalBackendStatus
Auto Trait Implementations§
impl Freeze for RetrievalBackendStatus
impl RefUnwindSafe for RetrievalBackendStatus
impl Send for RetrievalBackendStatus
impl Sync for RetrievalBackendStatus
impl Unpin for RetrievalBackendStatus
impl UnsafeUnpin for RetrievalBackendStatus
impl UnwindSafe for RetrievalBackendStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.