[][src]Struct validators::ipv4::IPv4

pub struct IPv4 { /* fields omitted */ }

Methods

impl IPv4[src]

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

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

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

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

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

pub fn into_string(self) -> String[src]

Trait Implementations

impl Validated for IPv4[src]

impl Clone for IPv4[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<IPv4LocalableWithPort> for IPv4[src]

impl From<IPv4LocalableAllowPort> for IPv4[src]

impl From<IPv4LocalableWithoutPort> for IPv4[src]

impl From<IPv4UnlocalableWithPort> for IPv4[src]

impl From<IPv4UnlocalableAllowPort> for IPv4[src]

impl From<IPv4UnlocalableWithoutPort> for IPv4[src]

impl PartialEq<IPv4> for IPv4[src]

impl Eq for IPv4[src]

impl Display for IPv4[src]

impl Debug for IPv4[src]

impl Deref for IPv4[src]

type Target = str

The resulting type after dereferencing.

impl Hash for IPv4[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Sync for IPv4

impl Send for IPv4

impl Unpin for IPv4

impl RefUnwindSafe for IPv4

impl UnwindSafe for IPv4

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection<T> for T

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

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