Type Definition json_ld_core::FlattenedDocument

source ·
pub type FlattenedDocument<T, B, M> = Vec<IndexedNode<T, B, M>>;
Expand description

Result of the document flattening algorithm.

It is just an alias for a set of (indexed) nodes.

Trait Implementations§

source§

impl<T, B, M> IdentifyAll<T, B, M> for FlattenedDocument<T, B, M>

source§

fn identify_all_with<V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V, M>>( &mut self, vocabulary: &mut V, generator: &mut G )where M: Clone, T: Eq + Hash, B: Eq + Hash,

source§

impl<T, B, M> LdQuads<T, B, M> for FlattenedDocument<T, B, M>

source§

fn quads(&self) -> Quads<'_, T, B, M>

source§

impl<T, B, M> RdfQuads<T, B, M> for FlattenedDocument<T, B, M>

source§

fn rdf_quads_full<'n, 'g, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V, M>>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection>, produce_generalized_rdf: bool ) -> Quads<'_, 'n, 'g, V, M, G>

source§

fn rdf_quads_with<'n, 'g, V: Vocabulary<Iri = T, BlankId = B>, G: Generator<V, M>>( &self, vocabulary: &'n mut V, generator: &'g mut G, rdf_direction: Option<RdfDirection> ) -> Quads<'_, 'n, 'g, V, M, G>

source§

impl<T, B, M> Relabel<T, B, M> for FlattenedDocument<T, B, M>

source§

fn relabel_with<N: Vocabulary<Iri = T, BlankId = B>, G: MetaGenerator<N, M>>( &mut self, vocabulary: &mut N, generator: &mut G, relabeling: &mut HashMap<B, Meta<Subject<T, B>, M>> )where M: Clone, T: Clone + Eq + Hash, B: Clone + Eq + Hash,