Struct json_ld_context_processing::Options
source · [−]pub struct Options {
pub processing_mode: ProcessingMode,
pub override_protected: bool,
pub propagate: bool,
}
Expand description
Options of the Context Processing Algorithm.
Fields
processing_mode: ProcessingMode
The processing mode
override_protected: bool
Override protected definitions.
propagate: bool
Propagate the processed context.
Implementations
sourceimpl Options
impl Options
sourcepub fn with_override(&self) -> Options
pub fn with_override(&self) -> Options
Return the same set of options, but with override_protected
set to true
.
sourcepub fn with_no_override(&self) -> Options
pub fn with_no_override(&self) -> Options
Return the same set of options, but with override_protected
set to false
.
sourcepub fn without_propagation(&self) -> Options
pub fn without_propagation(&self) -> Options
Return the same set of options, but with propagate
set to false
.
Trait Implementations
impl Copy for Options
impl Eq for Options
impl StructuralEq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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.