Struct validators::ipv6::IPv6UnlocalableWithPort [−][src]
pub struct IPv6UnlocalableWithPort(_);
Methods
impl IPv6UnlocalableWithPort
[src]
impl IPv6UnlocalableWithPort
pub fn from_string(ipv6: String) -> Result<IPv6UnlocalableWithPort, IPv6Error>
[src]
pub fn from_string(ipv6: String) -> Result<IPv6UnlocalableWithPort, IPv6Error>
pub fn from_str(ipv6: &str) -> Result<IPv6UnlocalableWithPort, IPv6Error>
[src]
pub fn from_str(ipv6: &str) -> Result<IPv6UnlocalableWithPort, IPv6Error>
pub fn from_ipv6(ipv6: IPv6) -> Result<IPv6UnlocalableWithPort, IPv6Error>
[src]
pub fn from_ipv6(ipv6: IPv6) -> Result<IPv6UnlocalableWithPort, IPv6Error>
pub fn into_ipv6(self) -> IPv6
[src]
pub fn into_ipv6(self) -> IPv6
pub fn as_ipv6(&self) -> &IPv6
[src]
pub fn as_ipv6(&self) -> &IPv6
impl IPv6UnlocalableWithPort
[src]
impl IPv6UnlocalableWithPort
pub fn get_ipv6_address(&self) -> &Ipv6Addr
[src]
pub fn get_ipv6_address(&self) -> &Ipv6Addr
pub fn get_full_ipv6(&self) -> &str
[src]
pub fn get_full_ipv6(&self) -> &str
pub fn get_full_ipv6_without_port(&self) -> &str
[src]
pub fn get_full_ipv6_without_port(&self) -> &str
impl IPv6UnlocalableWithPort
[src]
impl IPv6UnlocalableWithPort
Trait Implementations
impl Clone for IPv6UnlocalableWithPort
[src]
impl Clone for IPv6UnlocalableWithPort
fn clone(&self) -> IPv6UnlocalableWithPort
[src]
fn clone(&self) -> IPv6UnlocalableWithPort
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<IPv6UnlocalableWithPort> for IPv6
[src]
impl From<IPv6UnlocalableWithPort> for IPv6
fn from(d: IPv6UnlocalableWithPort) -> Self
[src]
fn from(d: IPv6UnlocalableWithPort) -> Self
Performs the conversion.
impl Validated for IPv6UnlocalableWithPort
[src]
impl Validated for IPv6UnlocalableWithPort
impl ValidatedWrapper for IPv6UnlocalableWithPort
[src]
impl ValidatedWrapper for IPv6UnlocalableWithPort
type Error = IPv6Error
fn from_string(ipv6: String) -> Result<Self, Self::Error>
[src]
fn from_string(ipv6: String) -> Result<Self, Self::Error>
fn from_str(ipv6: &str) -> Result<Self, Self::Error>
[src]
fn from_str(ipv6: &str) -> Result<Self, Self::Error>
impl Debug for IPv6UnlocalableWithPort
[src]
impl Debug for IPv6UnlocalableWithPort
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 IPv6UnlocalableWithPort
[src]
impl Display for IPv6UnlocalableWithPort
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 IPv6UnlocalableWithPort
[src]
impl PartialEq for IPv6UnlocalableWithPort
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<IPv6> for IPv6UnlocalableWithPort
[src]
impl PartialEq<IPv6> for IPv6UnlocalableWithPort
Auto Trait Implementations
impl Send for IPv6UnlocalableWithPort
impl Send for IPv6UnlocalableWithPort
impl Sync for IPv6UnlocalableWithPort
impl Sync for IPv6UnlocalableWithPort