pub struct ExplanationEntry {
pub kind: EntryKind,
pub case: NameCase,
pub names: Vec<String>,
pub forms: Vec<Vec<Inline>>,
pub name_bindings: Vec<ExplanationNameBinding>,
pub alias_groups: Vec<Vec<String>>,
pub alias_of: Option<NodeId>,
pub value_domain: Option<ValueDomain>,
}Expand description
Original semantic facts and forms; no executable argument grammar is implied.
Fields§
§kind: EntryKindSource-neutral role.
case: NameCaseMatching policy for documented names/forms.
names: Vec<String>Documented selectable names, not implicit equivalence groups.
forms: Vec<Vec<Inline>>Original visible forms projected through validated content bindings.
name_bindings: Vec<ExplanationNameBinding>Ordinary validated name locations, independent of the actual query match.
alias_groups: Vec<Vec<String>>Explicit same-owner equivalence groups.
alias_of: Option<NodeId>Explicit independent same-document subject relation.
value_domain: Option<ValueDomain>Local choices or remote entry set; never implicitly inherited/resolved.
Trait Implementations§
Source§impl Clone for ExplanationEntry
impl Clone for ExplanationEntry
Source§fn clone(&self) -> ExplanationEntry
fn clone(&self) -> ExplanationEntry
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 ExplanationEntry
impl Debug for ExplanationEntry
Source§impl<'de> Deserialize<'de> for ExplanationEntry
impl<'de> Deserialize<'de> for ExplanationEntry
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 ExplanationEntry
Source§impl JsonSchema for ExplanationEntry
impl JsonSchema for ExplanationEntry
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 ExplanationEntry
impl PartialEq for ExplanationEntry
Source§impl Serialize for ExplanationEntry
impl Serialize for ExplanationEntry
impl StructuralPartialEq for ExplanationEntry
Auto Trait Implementations§
impl Freeze for ExplanationEntry
impl RefUnwindSafe for ExplanationEntry
impl Send for ExplanationEntry
impl Sync for ExplanationEntry
impl Unpin for ExplanationEntry
impl UnsafeUnpin for ExplanationEntry
impl UnwindSafe for ExplanationEntry
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