pub trait Term {
// Required methods
fn kind(&self) -> TermKind;
fn as_str(&self) -> Cow<'_, str>;
// Provided methods
fn is_iri(&self) -> bool { ... }
fn is_bnode(&self) -> bool { ... }
fn is_literal(&self) -> bool { ... }
}
Expand description
An RDF term.
See: https://www.w3.org/TR/rdf12-concepts/#dfn-rdf-term