pub struct Processed { /* private fields */ }Expand description
A processed document, and what could not be resolved while processing it.
Implementations§
Source§impl Processed
impl Processed
Sourcepub fn into_document(self) -> Value
pub fn into_document(self) -> Value
The processed document, by value.
Sourcepub fn unresolved_contexts(&self) -> &[String]
pub fn unresolved_contexts(&self) -> &[String]
Context IRIs the document named that ojak does not ship.
Not an error: their terms simply did not expand, and any key relying on them was dropped. Worth logging when a peer’s documents come back emptier than expected — it usually means a new extension context.
Trait Implementations§
impl Eq for Processed
impl StructuralPartialEq for Processed
Auto Trait Implementations§
impl Freeze for Processed
impl RefUnwindSafe for Processed
impl Send for Processed
impl Sync for Processed
impl Unpin for Processed
impl UnsafeUnpin for Processed
impl UnwindSafe for Processed
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