Trait semval::IsValid

source ·
pub trait IsValid {
    // Required method
    fn is_valid(&self) -> bool;
}
Expand description

A utility trait for boolean validity checks.

Required Methods§

source

fn is_valid(&self) -> bool

Check if this instance is valid, discarding all further information why if not.

Implementors§

source§

impl<T> IsValid for T
where T: Validate + ?Sized,