pub enum EvidenceBasis {
Name {
matches: Vec<ExplanationNameMatch>,
},
Form {
matches: Vec<ExplanationFormMatch>,
},
Literal,
Identity {
fields: Vec<ExplanationIdentityField>,
},
AliasGroup {
members: Vec<String>,
},
Related {
from: NodeId,
declarations: Vec<NodeId>,
},
}Expand description
Why this owner is included. Multiple bases do not duplicate its content.
Variants§
Name
Exact documented name under the owner’s declared case policy.
Fields
§
matches: Vec<ExplanationNameMatch>Exact matched spellings and their available projected occurrences.
Form
Complete authored form under the owner’s declared case policy.
Fields
§
matches: Vec<ExplanationFormMatch>Exact complete forms accepted by the collector, not frontend guesses.
Literal
Literal visible content with finite token boundaries, always case-sensitive.
Identity
Exact entry ID or structural coordinate (no alias/shorthand resolver).
Fields
§
fields: Vec<ExplanationIdentityField>Matched outline fields; values are carried by the same evidence.
AliasGroup
A directly matched name participates in a validated explicit alias group.
Related
Evidence connected by explicit same-document aliasOf edges.
Trait Implementations§
Source§impl Clone for EvidenceBasis
impl Clone for EvidenceBasis
Source§fn clone(&self) -> EvidenceBasis
fn clone(&self) -> EvidenceBasis
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 EvidenceBasis
impl Debug for EvidenceBasis
Source§impl<'de> Deserialize<'de> for EvidenceBasis
impl<'de> Deserialize<'de> for EvidenceBasis
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EvidenceBasis
Source§impl JsonSchema for EvidenceBasis
impl JsonSchema for EvidenceBasis
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 PartialEq for EvidenceBasis
impl PartialEq for EvidenceBasis
Source§impl Serialize for EvidenceBasis
impl Serialize for EvidenceBasis
impl StructuralPartialEq for EvidenceBasis
Auto Trait Implementations§
impl Freeze for EvidenceBasis
impl RefUnwindSafe for EvidenceBasis
impl Send for EvidenceBasis
impl Sync for EvidenceBasis
impl Unpin for EvidenceBasis
impl UnsafeUnpin for EvidenceBasis
impl UnwindSafe for EvidenceBasis
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