mod case;
mod color;
mod email;
mod locale;
mod phone;
mod strlen;
mod web;
pub use self::case::{CamelCaseValidator, KebabCaseValidator, SnakeCaseValidator};
pub use self::color::RgbColorValidator;
pub use self::email::EmailValidator;
pub use self::locale::{CountryIso639Validator, CountryIso3166Validator};
pub use self::phone::PhoneNumberValidator;
pub use self::strlen::{MaxStrlenValidator, MinStrlenValidator, RangeStrlenValidator};
pub use self::web::{MimeTypeValidator, UrlValidator};
use crate::error::DbmsResult;
pub trait Validate {
fn validate(&self, value: &crate::prelude::Value) -> DbmsResult<()>;
}