Struct validators::domain::DomainUnlocalhostableWithoutPort [−][src]
pub struct DomainUnlocalhostableWithoutPort(_);
Methods
impl DomainUnlocalhostableWithoutPort[src]
impl DomainUnlocalhostableWithoutPortpub fn from_string(
full_domain: String
) -> Result<DomainUnlocalhostableWithoutPort, DomainError>[src]
pub fn from_string(
full_domain: String
) -> Result<DomainUnlocalhostableWithoutPort, DomainError>pub fn from_str(
full_domain: &str
) -> Result<DomainUnlocalhostableWithoutPort, DomainError>[src]
pub fn from_str(
full_domain: &str
) -> Result<DomainUnlocalhostableWithoutPort, DomainError>pub fn from_domain(
domain: Domain
) -> Result<DomainUnlocalhostableWithoutPort, DomainError>[src]
pub fn from_domain(
domain: Domain
) -> Result<DomainUnlocalhostableWithoutPort, 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 DomainUnlocalhostableWithoutPort[src]
impl DomainUnlocalhostableWithoutPortpub 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) -> &strTrait Implementations
impl Clone for DomainUnlocalhostableWithoutPort[src]
impl Clone for DomainUnlocalhostableWithoutPortfn clone(&self) -> DomainUnlocalhostableWithoutPort[src]
fn clone(&self) -> DomainUnlocalhostableWithoutPortReturns 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<DomainUnlocalhostableWithoutPort> for Domain[src]
impl From<DomainUnlocalhostableWithoutPort> for Domainfn from(d: DomainUnlocalhostableWithoutPort) -> Self[src]
fn from(d: DomainUnlocalhostableWithoutPort) -> SelfPerforms the conversion.
impl Validated for DomainUnlocalhostableWithoutPort[src]
impl Validated for DomainUnlocalhostableWithoutPortimpl Debug for DomainUnlocalhostableWithoutPort[src]
impl Debug for DomainUnlocalhostableWithoutPortfn 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 DomainUnlocalhostableWithoutPort[src]
impl Display for DomainUnlocalhostableWithoutPortfn 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 DomainUnlocalhostableWithoutPort[src]
impl PartialEq for DomainUnlocalhostableWithoutPortfn 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 DomainUnlocalhostableWithoutPort[src]
impl PartialEq<Domain> for DomainUnlocalhostableWithoutPortAuto Trait Implementations
impl Send for DomainUnlocalhostableWithoutPort
impl Send for DomainUnlocalhostableWithoutPortimpl Sync for DomainUnlocalhostableWithoutPort
impl Sync for DomainUnlocalhostableWithoutPort