Struct validators::ipv4::IPv4UnlocalableWithPort [−][src]
pub struct IPv4UnlocalableWithPort(_);
Methods
impl IPv4UnlocalableWithPort
[src]
impl IPv4UnlocalableWithPort
pub 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) -> IPv4
pub fn as_ipv4(&self) -> &IPv4
[src]
pub fn as_ipv4(&self) -> &IPv4
impl IPv4UnlocalableWithPort
[src]
impl IPv4UnlocalableWithPort
pub fn get_ipv4_address(&self) -> &Ipv4Addr
[src]
pub fn get_ipv4_address(&self) -> &Ipv4Addr
pub fn get_full_ipv4(&self) -> &str
[src]
pub fn get_full_ipv4(&self) -> &str
pub fn get_full_ipv4_without_port(&self) -> &str
[src]
pub fn get_full_ipv4_without_port(&self) -> &str
impl IPv4UnlocalableWithPort
[src]
impl IPv4UnlocalableWithPort
Trait Implementations
impl Clone for IPv4UnlocalableWithPort
[src]
impl Clone for IPv4UnlocalableWithPort
fn clone(&self) -> IPv4UnlocalableWithPort
[src]
fn clone(&self) -> IPv4UnlocalableWithPort
Returns 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 IPv4
fn from(d: IPv4UnlocalableWithPort) -> Self
[src]
fn from(d: IPv4UnlocalableWithPort) -> Self
Performs the conversion.
impl Validated for IPv4UnlocalableWithPort
[src]
impl Validated for IPv4UnlocalableWithPort
impl ValidatedWrapper for IPv4UnlocalableWithPort
[src]
impl ValidatedWrapper for IPv4UnlocalableWithPort
type 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 IPv4UnlocalableWithPort
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for IPv4UnlocalableWithPort
[src]
impl Display for IPv4UnlocalableWithPort
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for IPv4UnlocalableWithPort
[src]
impl PartialEq for IPv4UnlocalableWithPort
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This 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) -> bool
This method tests for !=
.
impl PartialEq<IPv4> for IPv4UnlocalableWithPort
[src]
impl PartialEq<IPv4> for IPv4UnlocalableWithPort
Auto Trait Implementations
impl Send for IPv4UnlocalableWithPort
impl Send for IPv4UnlocalableWithPort
impl Sync for IPv4UnlocalableWithPort
impl Sync for IPv4UnlocalableWithPort