pub struct StateRerankCandidateV1 {
pub result: SearchResult,
pub state_status: PremiseStatus,
pub state_relevance: f64,
pub support_score: f64,
pub origin_authority_score: f64,
pub original_score: f64,
pub reranked_score: f64,
pub origin_label_digest: Option<String>,
}Fields§
§result: SearchResult§state_status: PremiseStatus§state_relevance: f64§support_score: f64§original_score: f64§reranked_score: f64§origin_label_digest: Option<String>Implementations§
Source§impl StateRerankCandidateV1
impl StateRerankCandidateV1
pub fn from_result( result: SearchResult, state_status: PremiseStatus, state_relevance: f64, ) -> Self
Trait Implementations§
Source§impl Clone for StateRerankCandidateV1
impl Clone for StateRerankCandidateV1
Source§fn clone(&self) -> StateRerankCandidateV1
fn clone(&self) -> StateRerankCandidateV1
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 StateRerankCandidateV1
impl Debug for StateRerankCandidateV1
Source§impl From<StateRerankCandidateV1> for EvidencePacketItemV1
impl From<StateRerankCandidateV1> for EvidencePacketItemV1
Source§fn from(value: StateRerankCandidateV1) -> Self
fn from(value: StateRerankCandidateV1) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateRerankCandidateV1
impl RefUnwindSafe for StateRerankCandidateV1
impl Send for StateRerankCandidateV1
impl Sync for StateRerankCandidateV1
impl Unpin for StateRerankCandidateV1
impl UnsafeUnpin for StateRerankCandidateV1
impl UnwindSafe for StateRerankCandidateV1
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