Struct json_ld::ExpandedDocument
source · [−]Expand description
Result of the document expansion algorithm.
It is just an alias for a set of (indexed) objects.
Implementations
Trait Implementations
Converts this value into a K
JSON value using the given
meta
function to convert J::MetaData
into K::MetaData
. Read more
fn compact_full<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
type_scoped_context: Inversible<T, &'a C>,
active_property: Option<&'a str>,
loader: &'a mut L,
options: Options,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
T: 'a,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
fn compact_full<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
type_scoped_context: Inversible<T, &'a C>,
active_property: Option<&'a str>,
loader: &'a mut L,
options: Options,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
T: 'a,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
Compact a JSON-LD document into a K
JSON value with the provided
type scoped context, active property and options. Read more
fn compact_with<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
loader: &'a mut L,
options: Options,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
Self: Sync,
T: 'a + Sync + Send,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
fn compact_with<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
loader: &'a mut L,
options: Options,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
Self: Sync,
T: 'a + Sync + Send,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
Compact a JSON-LD document into a K
JSON value with the provided options. Read more
fn compact<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
loader: &'a mut L,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
Self: Sync,
T: 'a + Sync + Send,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
fn compact<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
&'a self,
active_context: Inversible<T, &'a C>,
loader: &'a mut L,
meta: M
) -> BoxFuture<'a, Result<K, Error>> where
Self: Sync,
T: 'a + Sync + Send,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData,
Compact a JSON-LD document into a K
JSON value with the default options.