pub enum EvidenceClass {
DirectEntry,
RelatedEntry,
EntryMention,
ContextMention,
}Expand description
Mutually exclusive owner category, in normative presentation/page order. This is a source-evidence distinction, not a confidence or relevance score.
Variants§
DirectEntry
A semantic owner with an exact name, complete form or identity match.
RelatedEntry
An independent owner reached through a validated explicit relationship.
EntryMention
An owner included only because its original content mentions the query.
ContextMention
An ordinary block, without a semantic owner, mentioning the query.
Implementations§
Trait Implementations§
Source§impl Clone for EvidenceClass
impl Clone for EvidenceClass
Source§fn clone(&self) -> EvidenceClass
fn clone(&self) -> EvidenceClass
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 Copy for EvidenceClass
Source§impl Debug for EvidenceClass
impl Debug for EvidenceClass
Source§impl<'de> Deserialize<'de> for EvidenceClass
impl<'de> Deserialize<'de> for EvidenceClass
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 EvidenceClass
Source§impl JsonSchema for EvidenceClass
impl JsonSchema for EvidenceClass
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for EvidenceClass
impl Ord for EvidenceClass
Source§fn cmp(&self, other: &EvidenceClass) -> Ordering
fn cmp(&self, other: &EvidenceClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EvidenceClass
impl PartialEq for EvidenceClass
Source§impl PartialOrd for EvidenceClass
impl PartialOrd for EvidenceClass
Source§impl Serialize for EvidenceClass
impl Serialize for EvidenceClass
impl StructuralPartialEq for EvidenceClass
Auto Trait Implementations§
impl Freeze for EvidenceClass
impl RefUnwindSafe for EvidenceClass
impl Send for EvidenceClass
impl Sync for EvidenceClass
impl Unpin for EvidenceClass
impl UnsafeUnpin for EvidenceClass
impl UnwindSafe for EvidenceClass
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