Struct validator::ValidationErrors[][src]

pub struct ValidationErrors(_);

Methods

impl ValidationErrors
[src]

Returns a boolean indicating whether a validation result includes validation errors for a given field. May be used as a condition for performing nested struct validations on a field in the absence of field-level validation errors.

Returns the combined outcome of a struct's validation result along with the nested validation result for one of its fields.

Returns the combined outcome of a struct's validation result along with the nested validation result for one of its fields where that field is a vector of validating structs.

Returns a map of field-level validation errors found for the struct that was validated and any of it's nested structs that are tagged for validation.

Returns a map of only field-level validation errors found for the struct that was validated.

Trait Implementations

impl Default for ValidationErrors
[src]

Returns the "default value" for a type. Read more

impl Debug for ValidationErrors
[src]

Formats the value using the given formatter. Read more

impl Clone for ValidationErrors
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ValidationErrors
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for ValidationErrors
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for ValidationErrors
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations