pub struct ExpandedNode {
pub id: Option<String>,
pub types: Vec<String>,
pub properties: HashMap<String, Vec<JsonLdVal>>,
}Expand description
An expanded JSON-LD node with full IRIs as keys.
Produced by extract_graph_nodes during the collection phase. Both id
and all keys in properties are fully expanded IRIs; values in properties
are the raw JsonLdVals as they appear in the source (terms within values
are NOT expanded, because components may define their own inline nodes).
Fields§
§id: Option<String>Fully expanded @id of this node, or None if absent.
types: Vec<String>Fully expanded @type IRIs.
properties: HashMap<String, Vec<JsonLdVal>>Property values keyed by fully expanded predicate IRI.
Trait Implementations§
Source§impl Clone for ExpandedNode
impl Clone for ExpandedNode
Source§fn clone(&self) -> ExpandedNode
fn clone(&self) -> ExpandedNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpandedNode
impl RefUnwindSafe for ExpandedNode
impl Send for ExpandedNode
impl Sync for ExpandedNode
impl Unpin for ExpandedNode
impl UnsafeUnpin for ExpandedNode
impl UnwindSafe for ExpandedNode
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