Struct validators::domain::DomainUnlocalhostableWithPort [−][src]
pub struct DomainUnlocalhostableWithPort(_);
Methods
impl DomainUnlocalhostableWithPort[src]
impl DomainUnlocalhostableWithPortpub fn from_string(
full_domain: String
) -> Result<DomainUnlocalhostableWithPort, DomainError>[src]
pub fn from_string(
full_domain: String
) -> Result<DomainUnlocalhostableWithPort, DomainError>pub fn from_str(
full_domain: &str
) -> Result<DomainUnlocalhostableWithPort, DomainError>[src]
pub fn from_str(
full_domain: &str
) -> Result<DomainUnlocalhostableWithPort, DomainError>pub fn from_domain(
domain: Domain
) -> Result<DomainUnlocalhostableWithPort, DomainError>[src]
pub fn from_domain(
domain: Domain
) -> Result<DomainUnlocalhostableWithPort, DomainError>pub fn into_domain(self) -> Domain[src]
pub fn into_domain(self) -> Domainpub fn as_domain(&self) -> &Domain[src]
pub fn as_domain(&self) -> &Domainimpl DomainUnlocalhostableWithPort[src]
impl DomainUnlocalhostableWithPortpub fn get_top_level_domain(&self) -> Option<&str>[src]
pub fn get_top_level_domain(&self) -> Option<&str>pub fn get_domain(&self) -> &str[src]
pub fn get_domain(&self) -> &strpub fn get_sub_domain(&self) -> Option<&str>[src]
pub fn get_sub_domain(&self) -> Option<&str>pub fn get_full_domain(&self) -> &str[src]
pub fn get_full_domain(&self) -> &strimpl DomainUnlocalhostableWithPort[src]
impl DomainUnlocalhostableWithPortpub fn get_full_domain_without_port(&self) -> &str[src]
pub fn get_full_domain_without_port(&self) -> &strpub fn get_port(&self) -> DomainPort[src]
pub fn get_port(&self) -> DomainPortTrait Implementations
impl Clone for DomainUnlocalhostableWithPort[src]
impl Clone for DomainUnlocalhostableWithPortfn clone(&self) -> DomainUnlocalhostableWithPort[src]
fn clone(&self) -> DomainUnlocalhostableWithPortReturns 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<DomainUnlocalhostableWithPort> for Domain[src]
impl From<DomainUnlocalhostableWithPort> for Domainfn from(d: DomainUnlocalhostableWithPort) -> Self[src]
fn from(d: DomainUnlocalhostableWithPort) -> SelfPerforms the conversion.
impl Validated for DomainUnlocalhostableWithPort[src]
impl Validated for DomainUnlocalhostableWithPortimpl Debug for DomainUnlocalhostableWithPort[src]
impl Debug for DomainUnlocalhostableWithPortfn 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 DomainUnlocalhostableWithPort[src]
impl Display for DomainUnlocalhostableWithPortfn 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 DomainUnlocalhostableWithPort[src]
impl PartialEq for DomainUnlocalhostableWithPortfn 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<Domain> for DomainUnlocalhostableWithPort[src]
impl PartialEq<Domain> for DomainUnlocalhostableWithPortAuto Trait Implementations
impl Send for DomainUnlocalhostableWithPort
impl Send for DomainUnlocalhostableWithPortimpl Sync for DomainUnlocalhostableWithPort
impl Sync for DomainUnlocalhostableWithPort