Trait QualifyDomain

Source
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§

Source

fn is_fully_qualified(&self) -> bool

Determine whether the domain is fully qualified.

Source

fn get_domain_non_fully_qualified(&self) -> &str

Get the non fully qualified part of this domain.

Implementors§