Struct validator::ValidationError[][src]

pub struct ValidationError {
    pub code: Cow<'static, str>,
    pub message: Option<Cow<'static, str>>,
    pub params: HashMap<Cow<'static, str>, Value>,
}

Fields

Methods

impl ValidationError
[src]

Trait Implementations

impl Debug for ValidationError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ValidationError
[src]

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

This method tests for !=.

impl Clone for ValidationError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for ValidationError
[src]

Formats the value using the given formatter. Read more

impl Error for ValidationError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations