[−][src]Struct validators::domain::Domain
Methods
impl Domain[src]
pub fn get_top_level_domain(&self) -> Option<&str>[src]
pub fn get_domain(&self) -> &str[src]
pub fn get_sub_domain(&self) -> Option<&str>[src]
pub fn get_full_domain(&self) -> &str[src]
pub fn get_full_domain_without_port(&self) -> &str[src]
pub fn get_port(&self) -> Option<u16>[src]
pub fn is_localhost(&self) -> bool[src]
pub fn into_string(self) -> String[src]
Trait Implementations
impl Clone for Domain[src]
impl Debug for Domain[src]
impl Deref for Domain[src]
impl Display for Domain[src]
impl Eq for Domain[src]
impl From<DomainLocalhostableAllowPort> for Domain[src]
fn from(d: DomainLocalhostableAllowPort) -> Self[src]
impl From<DomainLocalhostableWithPort> for Domain[src]
fn from(d: DomainLocalhostableWithPort) -> Self[src]
impl From<DomainLocalhostableWithoutPort> for Domain[src]
fn from(d: DomainLocalhostableWithoutPort) -> Self[src]
impl From<DomainUnlocalhostableAllowPort> for Domain[src]
fn from(d: DomainUnlocalhostableAllowPort) -> Self[src]
impl From<DomainUnlocalhostableWithPort> for Domain[src]
fn from(d: DomainUnlocalhostableWithPort) -> Self[src]
impl From<DomainUnlocalhostableWithoutPort> for Domain[src]
fn from(d: DomainUnlocalhostableWithoutPort) -> Self[src]
impl Hash for Domain[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Domain> for Domain[src]
impl Validated for Domain[src]
Auto Trait Implementations
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,