pub struct RetrieveProvenance {
pub query: String,
pub scope_ids: ScopeIds,
pub total_candidates: u32,
pub returned_candidates: u32,
pub truncated_due_to_token_budget: bool,
pub provider_used: String,
}Expand description
Provenance for a retrieval result.
Fields§
§query: String§scope_ids: ScopeIds§total_candidates: u32§returned_candidates: u32§truncated_due_to_token_budget: bool§provider_used: StringTrait Implementations§
Source§impl Clone for RetrieveProvenance
impl Clone for RetrieveProvenance
Source§fn clone(&self) -> RetrieveProvenance
fn clone(&self) -> RetrieveProvenance
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 RetrieveProvenance
impl Debug for RetrieveProvenance
Source§impl<'de> Deserialize<'de> for RetrieveProvenance
impl<'de> Deserialize<'de> for RetrieveProvenance
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
Source§impl PartialEq for RetrieveProvenance
impl PartialEq for RetrieveProvenance
Source§fn eq(&self, other: &RetrieveProvenance) -> bool
fn eq(&self, other: &RetrieveProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RetrieveProvenance
impl Serialize for RetrieveProvenance
impl StructuralPartialEq for RetrieveProvenance
Auto Trait Implementations§
impl Freeze for RetrieveProvenance
impl RefUnwindSafe for RetrieveProvenance
impl Send for RetrieveProvenance
impl Sync for RetrieveProvenance
impl Unpin for RetrieveProvenance
impl UnsafeUnpin for RetrieveProvenance
impl UnwindSafe for RetrieveProvenance
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