pub enum ProcessingMode {
JsonLd1_0,
JsonLd1_1,
}
Expand description
Processing mode.
This is a property of the
context::ProcessingOptions
and compaction::Options
types.
New features defined in JSON-LD 1.1 are available unless the processing mode is set to ProcessingMode::JsonLd1_0
.
Variants
JsonLd1_0
JSON-LD 1.0.
JsonLd1_1
JSON-LD 1.1.
Implementations
sourceimpl ProcessingMode
impl ProcessingMode
Trait Implementations
sourceimpl Clone for ProcessingMode
impl Clone for ProcessingMode
sourcefn clone(&self) -> ProcessingMode
fn clone(&self) -> ProcessingMode
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProcessingMode
impl Debug for ProcessingMode
sourceimpl Default for ProcessingMode
impl Default for ProcessingMode
sourcefn default() -> ProcessingMode
fn default() -> ProcessingMode
Returns the “default value” for a type. Read more
sourceimpl Display for ProcessingMode
impl Display for ProcessingMode
sourceimpl Hash for ProcessingMode
impl Hash for ProcessingMode
sourceimpl PartialEq<ProcessingMode> for ProcessingMode
impl PartialEq<ProcessingMode> for ProcessingMode
sourcefn eq(&self, other: &ProcessingMode) -> bool
fn eq(&self, other: &ProcessingMode) -> bool
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn unordered(&self) -> &Unordered<T>
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.