pub struct ActiveContext {
pub base: Option<String>,
pub vocab: Option<String>,
pub language: Option<String>,
pub terms: HashMap<String, TermDefinition>,
}Expand description
The active context built up from all @context entries encountered during
JSON-LD processing. Returned alongside the Turtle triples by
convert and convert_with_loader.
Fields§
§base: Option<String>§vocab: Option<String>§language: Option<String>§terms: HashMap<String, TermDefinition>Trait Implementations§
Source§impl Clone for ActiveContext
impl Clone for ActiveContext
Source§fn clone(&self) -> ActiveContext
fn clone(&self) -> ActiveContext
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 moreSource§impl Debug for ActiveContext
impl Debug for ActiveContext
Source§impl Default for ActiveContext
impl Default for ActiveContext
Source§fn default() -> ActiveContext
fn default() -> ActiveContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActiveContext
impl RefUnwindSafe for ActiveContext
impl Send for ActiveContext
impl Sync for ActiveContext
impl Unpin for ActiveContext
impl UnsafeUnpin for ActiveContext
impl UnwindSafe for ActiveContext
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