Struct json_ld_syntax::context::ContextDocument
source · pub struct ContextDocument {
pub context: Context,
}
Expand description
Context document.
A context document is a JSON-LD document containing an object with a single
@context
entry.
Fields§
§context: Context
Trait Implementations§
source§impl Clone for ContextDocument
impl Clone for ContextDocument
source§fn clone(&self) -> ContextDocument
fn clone(&self) -> ContextDocument
Returns a copy 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 ContextDocument
impl Debug for ContextDocument
source§impl PartialEq for ContextDocument
impl PartialEq for ContextDocument
source§fn eq(&self, other: &ContextDocument) -> bool
fn eq(&self, other: &ContextDocument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContextDocument
impl StructuralPartialEq for ContextDocument
Auto Trait Implementations§
impl Freeze for ContextDocument
impl RefUnwindSafe for ContextDocument
impl Send for ContextDocument
impl Sync for ContextDocument
impl Unpin for ContextDocument
impl UnwindSafe for ContextDocument
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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.