Struct validators::ipv4::IPv4LocalableAllowPort [−][src]
pub struct IPv4LocalableAllowPort(_);
Methods
impl IPv4LocalableAllowPort[src]
impl IPv4LocalableAllowPortpub fn from_string(ipv4: String) -> Result<IPv4LocalableAllowPort, IPv4Error>[src]
pub fn from_string(ipv4: String) -> Result<IPv4LocalableAllowPort, IPv4Error>pub fn from_str(ipv4: &str) -> Result<IPv4LocalableAllowPort, IPv4Error>[src]
pub fn from_str(ipv4: &str) -> Result<IPv4LocalableAllowPort, IPv4Error>pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4LocalableAllowPort, IPv4Error>[src]
pub fn from_ipv4(ipv4: IPv4) -> Result<IPv4LocalableAllowPort, 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 IPv4LocalableAllowPort[src]
impl IPv4LocalableAllowPortpub 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 IPv4LocalableAllowPort[src]
impl IPv4LocalableAllowPortTrait Implementations
impl Clone for IPv4LocalableAllowPort[src]
impl Clone for IPv4LocalableAllowPortfn clone(&self) -> IPv4LocalableAllowPort[src]
fn clone(&self) -> IPv4LocalableAllowPortReturns 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<IPv4LocalableAllowPort> for IPv4[src]
impl From<IPv4LocalableAllowPort> for IPv4fn from(d: IPv4LocalableAllowPort) -> Self[src]
fn from(d: IPv4LocalableAllowPort) -> SelfPerforms the conversion.
impl Validated for IPv4LocalableAllowPort[src]
impl Validated for IPv4LocalableAllowPortimpl ValidatedWrapper for IPv4LocalableAllowPort[src]
impl ValidatedWrapper for IPv4LocalableAllowPorttype 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 IPv4LocalableAllowPort[src]
impl Debug for IPv4LocalableAllowPortfn 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 IPv4LocalableAllowPort[src]
impl Display for IPv4LocalableAllowPortfn 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 IPv4LocalableAllowPort[src]
impl PartialEq for IPv4LocalableAllowPortfn 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 IPv4LocalableAllowPort[src]
impl PartialEq<IPv4> for IPv4LocalableAllowPortAuto Trait Implementations
impl Send for IPv4LocalableAllowPort
impl Send for IPv4LocalableAllowPortimpl Sync for IPv4LocalableAllowPort
impl Sync for IPv4LocalableAllowPort