pub trait QualifyDomain {
// Required methods
fn is_fully_qualified(&self) -> bool;
fn get_domain_non_fully_qualified(&self) -> &str;
}Available on crate feature
domain only.Expand description
The domain validator will implement this for its types.
Required Methods§
Sourcefn is_fully_qualified(&self) -> bool
fn is_fully_qualified(&self) -> bool
Determine whether the domain is fully qualified.
Sourcefn get_domain_non_fully_qualified(&self) -> &str
fn get_domain_non_fully_qualified(&self) -> &str
Get the non fully qualified part of this domain.