Skip to main content

Module context

Module context 

Source
Expand description

Contexts, their definitions and term definitions.

Re-exports§

pub use definition::Definition;
pub use term_definition::TermDefinition;

Modules§

definition
Context definitions and their bindings.
term_definition
Term definitions, simple and expanded.

Structs§

ContextDocument
Context document.
Traverse
Depth-first iterator over a context and everything it contains.

Enums§

Context
JSON-LD Context.
ContextEntry
Single entry of a @context.
ContextSubFragments
Iterator over the fragments held by a single context entry.
FragmentRef
Fragment of a context value: any JSON value reachable inside a @context.
IntoIter
Owning iterator over the entries of a context.
InvalidContext
Error raised when a JSON value is not a valid context.
SubFragments
Iterator over the fragments held by a context.

Constants§

MAX_CONTEXT_DEPTH
Maximum nesting depth of scoped contexts (@context inside a term definition) accepted when converting JSON into a Context.