pub struct BlankNode<'a> {
pub id: &'a str,
}
Expand description
An RDF blank node.
The default string formatter is returning an N-Triples, Turtle and SPARQL compatible representation.
use rio_api::model::BlankNode;
assert_eq!(
"_:a1",
BlankNode { id: "a1" }.to_string()
)
Fields
id: &'a str
Trait Implementations
Performs the conversion.
Return the “value” of this term, possibly split in two substrings. The second part might only be non-empty if this term is an IRI reference. Read more
This method ensures that all implementations of TTerm
can be turned into a trait object. Read more
Return the “value” of this term, which depends on its kind: Read more
Return the datatype IRI of this term if it is a literal. Read more
Return the language tag of this term if it is a language-tagged literal. Read more
All terms are absolute, except for: Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for BlankNode<'a>
impl<'a> UnwindSafe for BlankNode<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Try to copy this IRI into another type.