Struct psl_types::Suffix[][src]

pub struct Suffix<'a> { /* fields omitted */ }

The suffix of a domain name

Implementations

impl Suffix<'_>[src]

pub const fn as_bytes(&self) -> &[u8][src]

pub const fn is_fqdn(&self) -> bool[src]

pub const fn typ(&self) -> Option<Type>[src]

pub fn is_known(&self) -> bool[src]

Trait Implementations

impl<'a> Clone for Suffix<'a>[src]

impl<'a> Copy for Suffix<'a>[src]

impl<'a> Debug for Suffix<'a>[src]

impl<'a> Eq for Suffix<'a>[src]

impl<'a> Hash for Suffix<'a>[src]

impl<'a> Ord for Suffix<'a>[src]

impl PartialEq<&'_ [u8]> for Suffix<'_>[src]

impl PartialEq<&'_ str> for Suffix<'_>[src]

impl<'a> PartialEq<Suffix<'a>> for Suffix<'a>[src]

impl<'a> PartialOrd<Suffix<'a>> for Suffix<'a>[src]

impl<'a> StructuralEq for Suffix<'a>[src]

impl<'a> StructuralPartialEq for Suffix<'a>[src]

Auto Trait Implementations

impl<'a> Send for Suffix<'a>

impl<'a> Sync for Suffix<'a>

impl<'a> Unpin for Suffix<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.