validators/traits/
qualify_domain.rs

1/// The `domain` validator will implement this for its types.
2pub trait QualifyDomain {
3    /// Determine whether the domain is fully qualified.
4    fn is_fully_qualified(&self) -> bool;
5
6    /// Get the non fully qualified part of this domain.
7    fn get_domain_non_fully_qualified(&self) -> &str;
8}