Struct validators::ipv4::IPv4UnlocalableWithoutPort [−][src]
pub struct IPv4UnlocalableWithoutPort(_);
Methods
impl IPv4UnlocalableWithoutPort[src]
impl IPv4UnlocalableWithoutPortpub fn from_string(
ipv4: String
) -> Result<IPv4UnlocalableWithoutPort, IPv4Error>[src]
pub fn from_string(
ipv4: String
) -> Result<IPv4UnlocalableWithoutPort, IPv4Error>pub fn from_str(ipv4: &str) -> Result<IPv4UnlocalableWithoutPort, IPv4Error>[src]
pub fn from_str(ipv4: &str) -> Result<IPv4UnlocalableWithoutPort, IPv4Error>pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4UnlocalableWithoutPort, IPv4Error>[src]
pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4UnlocalableWithoutPort, 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 IPv4UnlocalableWithoutPort[src]
impl IPv4UnlocalableWithoutPortpub 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) -> &strTrait Implementations
impl Clone for IPv4UnlocalableWithoutPort[src]
impl Clone for IPv4UnlocalableWithoutPortfn clone(&self) -> IPv4UnlocalableWithoutPort[src]
fn clone(&self) -> IPv4UnlocalableWithoutPortReturns 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<IPv4UnlocalableWithoutPort> for IPv4[src]
impl From<IPv4UnlocalableWithoutPort> for IPv4fn from(d: IPv4UnlocalableWithoutPort) -> Self[src]
fn from(d: IPv4UnlocalableWithoutPort) -> SelfPerforms the conversion.
impl Validated for IPv4UnlocalableWithoutPort[src]
impl Validated for IPv4UnlocalableWithoutPortimpl ValidatedWrapper for IPv4UnlocalableWithoutPort[src]
impl ValidatedWrapper for IPv4UnlocalableWithoutPorttype Error = IPv4Error
fn from_string(ipv4: String) -> Result<Self, Self::Error>[src]
fn from_string(ipv4: String) -> Result<Self, Self::Error>fn from_str(ipv4: &str) -> Result<Self, Self::Error>[src]
fn from_str(ipv4: &str) -> Result<Self, Self::Error>impl Debug for IPv4UnlocalableWithoutPort[src]
impl Debug for IPv4UnlocalableWithoutPortfn 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 IPv4UnlocalableWithoutPort[src]
impl Display for IPv4UnlocalableWithoutPortfn 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 IPv4UnlocalableWithoutPort[src]
impl PartialEq for IPv4UnlocalableWithoutPortfn 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 IPv4UnlocalableWithoutPort[src]
impl PartialEq<IPv4> for IPv4UnlocalableWithoutPortAuto Trait Implementations
impl Send for IPv4UnlocalableWithoutPort
impl Send for IPv4UnlocalableWithoutPortimpl Sync for IPv4UnlocalableWithoutPort
impl Sync for IPv4UnlocalableWithoutPort