Enum json_ld::ProcessingMode
source · pub enum ProcessingMode {
JsonLd1_0,
JsonLd1_1,
}
Expand description
Processing mode.
This is a property of the context processing and compaction options.
New features defined in JSON-LD 1.1 are available unless the processing mode is set to ProcessingMode::JsonLd1_0
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ProcessingMode
impl Clone for ProcessingMode
source§fn clone(&self) -> ProcessingMode
fn clone(&self) -> ProcessingMode
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 ProcessingMode
impl Debug for ProcessingMode
source§impl Default for ProcessingMode
impl Default for ProcessingMode
source§fn default() -> ProcessingMode
fn default() -> ProcessingMode
Returns the “default value” for a type. Read more
source§impl Display for ProcessingMode
impl Display for ProcessingMode
source§impl Hash for ProcessingMode
impl Hash for ProcessingMode
source§impl PartialEq<ProcessingMode> for ProcessingMode
impl PartialEq<ProcessingMode> for ProcessingMode
source§fn eq(&self, other: &ProcessingMode) -> bool
fn eq(&self, other: &ProcessingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a str> for ProcessingMode
impl<'a> TryFrom<&'a str> for ProcessingMode
impl Copy for ProcessingMode
impl Eq for ProcessingMode
impl StructuralEq for ProcessingMode
impl StructuralPartialEq for ProcessingMode
Auto Trait Implementations§
impl RefUnwindSafe for ProcessingMode
impl Send for ProcessingMode
impl Sync for ProcessingMode
impl Unpin for ProcessingMode
impl UnwindSafe for ProcessingMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.