Trait validatron::Validate[][src]

pub trait Validate {
    fn validate(&self) -> Result<()>;
}

The core Validatron trait, types that implement this trait can be exhaustively validated.

Implementors should recursively validate internal structures.

Required methods

fn validate(&self) -> Result<()>[src]

Validate the implemented type exhaustively, returning all errors.

Loading content...

Implementations on Foreign Types

impl<T> Validate for Vec<T> where
    T: Validate
[src]

impl<T> Validate for VecDeque<T> where
    T: Validate
[src]

impl<T> Validate for LinkedList<T> where
    T: Validate
[src]

impl<K, V, S> Validate for HashMap<K, V, S> where
    K: Display,
    V: Validate
[src]

impl<K, V> Validate for BTreeMap<K, V> where
    K: Display,
    V: Validate
[src]

impl<T, S> Validate for HashSet<T, S> where
    T: Validate
[src]

impl<T> Validate for BTreeSet<T> where
    T: Validate
[src]

impl<T> Validate for BinaryHeap<T> where
    T: Validate
[src]

impl<T> Validate for Option<T> where
    T: Validate
[src]

impl<T, E> Validate for Result<T, E> where
    T: Validate
[src]

Loading content...

Implementors

Loading content...