pub struct QueryEvidence {
pub tier: RelevanceTier,
pub score: i64,
pub matched: Vec<String>,
}Expand description
Local query-match evidence retained with a result.
Fields§
§tier: RelevanceTierLocal tier.
score: i64Weighted local score.
matched: Vec<String>Canonicalized matching clauses or identities.
Trait Implementations§
Source§impl Clone for QueryEvidence
impl Clone for QueryEvidence
Source§fn clone(&self) -> QueryEvidence
fn clone(&self) -> QueryEvidence
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 QueryEvidence
impl Debug for QueryEvidence
Source§impl<'de> Deserialize<'de> for QueryEvidence
impl<'de> Deserialize<'de> for QueryEvidence
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 QueryEvidence
Source§impl PartialEq for QueryEvidence
impl PartialEq for QueryEvidence
Source§impl Serialize for QueryEvidence
impl Serialize for QueryEvidence
impl StructuralPartialEq for QueryEvidence
Auto Trait Implementations§
impl Freeze for QueryEvidence
impl RefUnwindSafe for QueryEvidence
impl Send for QueryEvidence
impl Sync for QueryEvidence
impl Unpin for QueryEvidence
impl UnsafeUnpin for QueryEvidence
impl UnwindSafe for QueryEvidence
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