pub enum NamedNode {
Full(String, usize),
Prefixed {
prefix: String,
value: String,
idx: usize,
computed: Option<String>,
},
A(usize),
Invalid,
}Variants§
Full(String, usize)
Prefixed
Fields
§
computed: Option<String>Pre-resolved absolute IRI, set by parsers (currently JSON-LD) that
expand IRIs against a context whose semantics are not equivalent to
plain prefix substitution (whole-term precedence, scoped contexts,
@vocab). When present, downstream consumers should use this value
instead of re-expanding prefix/value against the prefix map.
None for the syntactic parsers (Turtle/TriG/SPARQL/N3), which leave
expansion to the consumer.
A(usize)
Invalid
Trait Implementations§
impl Eq for NamedNode
impl StructuralPartialEq for NamedNode
Auto Trait Implementations§
impl Freeze for NamedNode
impl RefUnwindSafe for NamedNode
impl Send for NamedNode
impl Sync for NamedNode
impl Unpin for NamedNode
impl UnsafeUnpin for NamedNode
impl UnwindSafe for NamedNode
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