pub struct ReferenceRecord {
pub origin: ContentLocation,
pub source_read: ContentSelector,
pub owner: Option<ContentReveal>,
pub label: String,
pub label_truncated: bool,
pub target: LinkTarget,
pub association: ReferenceAssociation,
pub resolution: ReferenceResolution,
}Expand description
One occurrence, not a grouped or deduplicated navigation row.
Fields§
§origin: ContentLocationSnapshot-local location of the original Inline::Link.
source_read: ContentSelectorExplicit containing readable source subtree. This is not the occurrence itself and never follows the reference’s destination.
owner: Option<ContentReveal>Nearest original content item, when present.
label: StringVisible plain label from original children; may be empty.
label_truncated: boolWhether the UTF-8-safe label prefix was bounded.
target: LinkTargetComplete original typed target, including its fragment.
association: ReferenceAssociationAtomic validation outcome of original form bindings.
resolution: ReferenceResolutionFacts established without loading other documents or probing external URIs.
Trait Implementations§
Source§impl Clone for ReferenceRecord
impl Clone for ReferenceRecord
Source§fn clone(&self) -> ReferenceRecord
fn clone(&self) -> ReferenceRecord
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 ReferenceRecord
impl Debug for ReferenceRecord
Source§impl<'de> Deserialize<'de> for ReferenceRecord
impl<'de> Deserialize<'de> for ReferenceRecord
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 ReferenceRecord
Source§impl JsonSchema for ReferenceRecord
impl JsonSchema for ReferenceRecord
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 ReferenceRecord
impl PartialEq for ReferenceRecord
Source§impl Serialize for ReferenceRecord
impl Serialize for ReferenceRecord
impl StructuralPartialEq for ReferenceRecord
Auto Trait Implementations§
impl Freeze for ReferenceRecord
impl RefUnwindSafe for ReferenceRecord
impl Send for ReferenceRecord
impl Sync for ReferenceRecord
impl Unpin for ReferenceRecord
impl UnsafeUnpin for ReferenceRecord
impl UnwindSafe for ReferenceRecord
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