Type Definition NodeType
json_ld::syntax
type NodeType<T> = Type<Reference<T>>;
impl<T: Id> TryFrom<Term<T>> for NodeType<T>
type Error = Term<T>
The type returned in the event of a conversion error.
fn try_from(term: Term<T>) -> Result<NodeType<T>, Term<T>>
Performs the conversion.