pub struct CounterpointGenerationReceipt {
pub search: SearchReceipt,
pub raw_result_count: usize,
pub selected_result_count: usize,
pub diversity_rejected: usize,
pub facts: Vec<String>,
}Expand description
Counterpoint-specific interpretation of one generic search receipt.
Fields§
§search: SearchReceiptUnmodified generic bounded-search receipt.
raw_result_count: usizeLegal assignments emitted by the search before diversity selection.
selected_result_count: usizeResults retained after diversity selection.
diversity_rejected: usizeLegal assignments rejected only by the diversity policy.
facts: Vec<String>Stable materialization and policy evidence.
Implementations§
Source§impl CounterpointGenerationReceipt
impl CounterpointGenerationReceipt
Sourcepub fn status(&self) -> &SearchStatus
pub fn status(&self) -> &SearchStatus
Final generic termination status.
Trait Implementations§
Source§impl Clone for CounterpointGenerationReceipt
impl Clone for CounterpointGenerationReceipt
Source§fn clone(&self) -> CounterpointGenerationReceipt
fn clone(&self) -> CounterpointGenerationReceipt
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 moreimpl Eq for CounterpointGenerationReceipt
impl StructuralPartialEq for CounterpointGenerationReceipt
Auto Trait Implementations§
impl Freeze for CounterpointGenerationReceipt
impl RefUnwindSafe for CounterpointGenerationReceipt
impl Send for CounterpointGenerationReceipt
impl Sync for CounterpointGenerationReceipt
impl Unpin for CounterpointGenerationReceipt
impl UnsafeUnpin for CounterpointGenerationReceipt
impl UnwindSafe for CounterpointGenerationReceipt
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,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more