Struct spirit::validation::Results

source ·
pub struct Results(_);
Expand description

Multiple validation results.

A validator can actually return multiple results at once (to, for example, produce multiple messages). This is a storage of multiple results which can be created by either converting a single or iterator or by merging multiple Results objects.

Implementations§

Creates an empty results storage.

Appends another bunch of results into this storage.

Iterates through the storage.

The most severe level of all the results inside.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.