[][src]Struct validators::ipv4::IPv4UnlocalableAllowPort

pub struct IPv4UnlocalableAllowPort(_);

Methods

impl IPv4UnlocalableAllowPort[src]

impl IPv4UnlocalableAllowPort[src]

pub fn get_ipv4_address(&self) -> &Ipv4Addr[src]

pub fn get_full_ipv4(&self) -> &str[src]

pub fn get_full_ipv4_without_port(&self) -> &str[src]

impl IPv4UnlocalableAllowPort[src]

pub fn get_port(&self) -> Option<u16>[src]

Trait Implementations

impl Validated for IPv4UnlocalableAllowPort[src]

impl ValidatedWrapper for IPv4UnlocalableAllowPort[src]

type Error = IPv4Error

impl Eq for IPv4UnlocalableAllowPort[src]

impl Clone for IPv4UnlocalableAllowPort[src]

impl PartialEq<IPv4UnlocalableAllowPort> for IPv4UnlocalableAllowPort[src]

impl From<IPv4UnlocalableAllowPort> for IPv4[src]

impl Hash for IPv4UnlocalableAllowPort[src]

impl Deref for IPv4UnlocalableAllowPort[src]

type Target = str

The resulting type after dereferencing.

impl Debug for IPv4UnlocalableAllowPort[src]

impl Display for IPv4UnlocalableAllowPort[src]

impl FromStr for IPv4UnlocalableAllowPort[src]

type Err = IPv4Error

The associated error which can be returned from parsing.

impl<'a> FromParam<'a> for IPv4UnlocalableAllowPort[src]

type Error = IPv4Error

The associated error to be returned if parsing/validation fails.

impl<'a> FromFormValue<'a> for IPv4UnlocalableAllowPort[src]

type Error = IPv4Error

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

impl Serialize for IPv4UnlocalableAllowPort[src]

impl<'de> Deserialize<'de> for IPv4UnlocalableAllowPort[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.

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

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]