Struct ipify_client::IP [−][src]
pub struct IP(_, _, _, _);
Representation of an IPV4 address.
Trait Implementations
impl PartialEq for IP
[src]
impl PartialEq for IP
fn eq(&self, other: &IP) -> bool
[src]
fn eq(&self, other: &IP) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IP) -> bool
[src]
fn ne(&self, other: &IP) -> bool
This method tests for !=
.
impl Debug for IP
[src]
impl Debug for IP
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 FromStr for IP
[src]
impl FromStr for IP
type Err = IPParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl Display for IP
[src]
impl Display for IP