Struct validators::ipv4::IPv4LocalableWithoutPort [−][src]
pub struct IPv4LocalableWithoutPort(_);
Methods
impl IPv4LocalableWithoutPort[src]
impl IPv4LocalableWithoutPortpub fn from_string(ipv4: String) -> Result<IPv4LocalableWithoutPort, IPv4Error>[src]
pub fn from_string(ipv4: String) -> Result<IPv4LocalableWithoutPort, IPv4Error>pub fn from_str(ipv4: &str) -> Result<IPv4LocalableWithoutPort, IPv4Error>[src]
pub fn from_str(ipv4: &str) -> Result<IPv4LocalableWithoutPort, IPv4Error>pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4LocalableWithoutPort, IPv4Error>[src]
pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4LocalableWithoutPort, IPv4Error>pub fn into_ipv4(self) -> IPv4[src]
pub fn into_ipv4(self) -> IPv4pub fn as_ipv4(&self) -> &IPv4[src]
pub fn as_ipv4(&self) -> &IPv4impl IPv4LocalableWithoutPort[src]
impl IPv4LocalableWithoutPortpub fn get_ipv4_address(&self) -> &Ipv4Addr[src]
pub fn get_ipv4_address(&self) -> &Ipv4Addrpub fn get_full_ipv4(&self) -> &str[src]
pub fn get_full_ipv4(&self) -> &strpub fn get_full_ipv4_without_port(&self) -> &str[src]
pub fn get_full_ipv4_without_port(&self) -> &strimpl IPv4LocalableWithoutPort[src]
impl IPv4LocalableWithoutPortTrait Implementations
impl Clone for IPv4LocalableWithoutPort[src]
impl Clone for IPv4LocalableWithoutPortfn clone(&self) -> IPv4LocalableWithoutPort[src]
fn clone(&self) -> IPv4LocalableWithoutPortReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<IPv4LocalableWithoutPort> for IPv4[src]
impl From<IPv4LocalableWithoutPort> for IPv4fn from(d: IPv4LocalableWithoutPort) -> Self[src]
fn from(d: IPv4LocalableWithoutPort) -> SelfPerforms the conversion.
impl Validated for IPv4LocalableWithoutPort[src]
impl Validated for IPv4LocalableWithoutPortimpl Debug for IPv4LocalableWithoutPort[src]
impl Debug for IPv4LocalableWithoutPortfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for IPv4LocalableWithoutPort[src]
impl Display for IPv4LocalableWithoutPortfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for IPv4LocalableWithoutPort[src]
impl PartialEq for IPv4LocalableWithoutPortfn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Self) -> bool[src]
fn ne(&self, other: &Self) -> boolThis method tests for !=.
impl PartialEq<IPv4> for IPv4LocalableWithoutPort[src]
impl PartialEq<IPv4> for IPv4LocalableWithoutPortAuto Trait Implementations
impl Send for IPv4LocalableWithoutPort
impl Send for IPv4LocalableWithoutPortimpl Sync for IPv4LocalableWithoutPort
impl Sync for IPv4LocalableWithoutPort