Struct validators::ipv4::IPv4UnlocalableWithPort [−][src]
pub struct IPv4UnlocalableWithPort(_);
Methods
impl IPv4UnlocalableWithPort[src]
impl IPv4UnlocalableWithPortpub fn from_string(ipv4: String) -> Result<IPv4UnlocalableWithPort, IPv4Error>[src]
pub fn from_string(ipv4: String) -> Result<IPv4UnlocalableWithPort, IPv4Error>pub fn from_str(ipv4: &str) -> Result<IPv4UnlocalableWithPort, IPv4Error>[src]
pub fn from_str(ipv4: &str) -> Result<IPv4UnlocalableWithPort, IPv4Error>pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4UnlocalableWithPort, IPv4Error>[src]
pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4UnlocalableWithPort, 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 IPv4UnlocalableWithPort[src]
impl IPv4UnlocalableWithPortpub 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 IPv4UnlocalableWithPort[src]
impl IPv4UnlocalableWithPortTrait Implementations
impl Clone for IPv4UnlocalableWithPort[src]
impl Clone for IPv4UnlocalableWithPortfn clone(&self) -> IPv4UnlocalableWithPort[src]
fn clone(&self) -> IPv4UnlocalableWithPortReturns 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<IPv4UnlocalableWithPort> for IPv4[src]
impl From<IPv4UnlocalableWithPort> for IPv4fn from(d: IPv4UnlocalableWithPort) -> Self[src]
fn from(d: IPv4UnlocalableWithPort) -> SelfPerforms the conversion.
impl Validated for IPv4UnlocalableWithPort[src]
impl Validated for IPv4UnlocalableWithPortimpl ValidatedWrapper for IPv4UnlocalableWithPort[src]
impl ValidatedWrapper for IPv4UnlocalableWithPorttype 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 IPv4UnlocalableWithPort[src]
impl Debug for IPv4UnlocalableWithPortfn 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 IPv4UnlocalableWithPort[src]
impl Display for IPv4UnlocalableWithPortfn 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 IPv4UnlocalableWithPort[src]
impl PartialEq for IPv4UnlocalableWithPortfn 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 IPv4UnlocalableWithPort[src]
impl PartialEq<IPv4> for IPv4UnlocalableWithPortAuto Trait Implementations
impl Send for IPv4UnlocalableWithPort
impl Send for IPv4UnlocalableWithPortimpl Sync for IPv4UnlocalableWithPort
impl Sync for IPv4UnlocalableWithPort