Struct validators::ipv4::IPv4UnlocalableWithoutPort [−][src]
pub struct IPv4UnlocalableWithoutPort(_);
Methods
impl IPv4UnlocalableWithoutPort
[src]
impl IPv4UnlocalableWithoutPort
pub 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) -> IPv4
pub fn as_ipv4(&self) -> &IPv4
[src]
pub fn as_ipv4(&self) -> &IPv4
impl IPv4UnlocalableWithoutPort
[src]
impl IPv4UnlocalableWithoutPort
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
Trait Implementations
impl Clone for IPv4UnlocalableWithoutPort
[src]
impl Clone for IPv4UnlocalableWithoutPort
fn clone(&self) -> IPv4UnlocalableWithoutPort
[src]
fn clone(&self) -> IPv4UnlocalableWithoutPort
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<IPv4UnlocalableWithoutPort> for IPv4
[src]
impl From<IPv4UnlocalableWithoutPort> for IPv4
fn from(d: IPv4UnlocalableWithoutPort) -> Self
[src]
fn from(d: IPv4UnlocalableWithoutPort) -> Self
Performs the conversion.
impl Validated for IPv4UnlocalableWithoutPort
[src]
impl Validated for IPv4UnlocalableWithoutPort
impl Display for IPv4UnlocalableWithoutPort
[src]
impl Display for IPv4UnlocalableWithoutPort
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 IPv4UnlocalableWithoutPort
[src]
impl PartialEq for IPv4UnlocalableWithoutPort
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 IPv4UnlocalableWithoutPort
[src]
impl PartialEq<IPv4> for IPv4UnlocalableWithoutPort
Auto Trait Implementations
impl Send for IPv4UnlocalableWithoutPort
impl Send for IPv4UnlocalableWithoutPort
impl Sync for IPv4UnlocalableWithoutPort
impl Sync for IPv4UnlocalableWithoutPort