pub struct Processed<'a, L: Json, C> { /* private fields */ }
Expand description

Processed context referencing its original unprocessed local context.

This is usefull for instance to attach a processed context to its original JSON form, which is then used by the compaction algorithm to put the context in the compacted document.

Implementations

Wraps a processed context along with a reference to its original local representation.

Wraps a processed context along with a reference to its original local representation and warnings emitted during processing.

Returns a reference to the warnings emitted during processing.

Consumes the wrapper and returns the processed context.

Clone the referenced local context and return a Processed context that owns the original local context.

Trait Implementations

Converts this value into a K JSON value using the given meta function to convert J::MetaData into K::MetaData. Read more

Converts this value into a K JSON value. Read more

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a reference to the mutable context.

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.