validators 0.25.3

This library is designed for validating and modeling user input. The crate includes models, functions, traits, errors, and other dependencies.
Documentation
1
2
3
4
5
6
7
8
/// The `domain` validator will implement this for its types.
pub trait QualifyDomain {
    /// Determine whether the domain is fully qualified.
    fn is_fully_qualified(&self) -> bool;

    /// Get the non fully qualified part of this domain.
    fn get_domain_non_fully_qualified(&self) -> &str;
}