Struct exar::ValidationError [] [src]

pub struct ValidationError {
    pub description: String,
}

A validation error.

Fields

description: String

The validation error's description.

Methods

impl ValidationError
[src]

fn new(description: &str) -> ValidationError

Creates a ValidationError with the given description.

Trait Implementations

impl Eq for ValidationError
[src]

impl PartialEq for ValidationError
[src]

fn eq(&self, __arg_0: &ValidationError) -> bool

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

fn ne(&self, __arg_0: &ValidationError) -> bool

This method tests for !=.

impl Debug for ValidationError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ValidationError
[src]

fn clone(&self) -> ValidationError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for ValidationError
[src]

fn fmt(&self, f: &mut Formatter) -> DisplayResult

Formats the value using the given formatter.