Enum json_ld::object::Object [−][src]
Expand description
Object.
JSON-LD connects together multiple kinds of data objects. Objects may be nodes, values or lists of objects.
Variants
Value(Value<T>)Value object.
Tuple Fields of Value
0: Value<T>Node(Node<T>)Node object.
Tuple Fields of Node
0: Node<T>List object.
Implementations
Identifier of the object as an IRI.
If the object is a node identified by an IRI, returns this IRI.
Returns None otherwise.
Tests if the object is a graph object (a node with a @graph field).
Get the object as a string.
If the object is a value that is a string, returns this string.
If the object is a node that is identified, returns the identifier as a string.
Returns None otherwise.
If the objat is a language-tagged value, Return its associated language.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Object<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Object<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more