Struct validators::domain::DomainLocalhostableWithoutPort [−][src]
pub struct DomainLocalhostableWithoutPort(_);
Methods
impl DomainLocalhostableWithoutPort[src]
impl DomainLocalhostableWithoutPortpub fn from_string(
full_domain: String
) -> Result<DomainLocalhostableWithoutPort, DomainError>[src]
pub fn from_string(
full_domain: String
) -> Result<DomainLocalhostableWithoutPort, DomainError>pub fn from_str(
full_domain: &str
) -> Result<DomainLocalhostableWithoutPort, DomainError>[src]
pub fn from_str(
full_domain: &str
) -> Result<DomainLocalhostableWithoutPort, DomainError>pub fn from_domain(
domain: Domain
) -> Result<DomainLocalhostableWithoutPort, DomainError>[src]
pub fn from_domain(
domain: Domain
) -> Result<DomainLocalhostableWithoutPort, 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 DomainLocalhostableWithoutPort[src]
impl DomainLocalhostableWithoutPortpub 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 DomainLocalhostableWithoutPort[src]
impl DomainLocalhostableWithoutPortpub fn is_localhost(&self) -> bool[src]
pub fn is_localhost(&self) -> boolTrait Implementations
impl Clone for DomainLocalhostableWithoutPort[src]
impl Clone for DomainLocalhostableWithoutPortfn clone(&self) -> DomainLocalhostableWithoutPort[src]
fn clone(&self) -> DomainLocalhostableWithoutPortReturns 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<DomainLocalhostableWithoutPort> for Domain[src]
impl From<DomainLocalhostableWithoutPort> for Domainfn from(d: DomainLocalhostableWithoutPort) -> Self[src]
fn from(d: DomainLocalhostableWithoutPort) -> SelfPerforms the conversion.
impl Validated for DomainLocalhostableWithoutPort[src]
impl Validated for DomainLocalhostableWithoutPortimpl ValidatedWrapper for DomainLocalhostableWithoutPort[src]
impl ValidatedWrapper for DomainLocalhostableWithoutPorttype Error = DomainError
fn from_string(full_domain: String) -> Result<Self, Self::Error>[src]
fn from_string(full_domain: String) -> Result<Self, Self::Error>fn from_str(full_domain: &str) -> Result<Self, Self::Error>[src]
fn from_str(full_domain: &str) -> Result<Self, Self::Error>impl Debug for DomainLocalhostableWithoutPort[src]
impl Debug for DomainLocalhostableWithoutPortfn 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 DomainLocalhostableWithoutPort[src]
impl Display for DomainLocalhostableWithoutPortfn 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 DomainLocalhostableWithoutPort[src]
impl PartialEq for DomainLocalhostableWithoutPortfn 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 DomainLocalhostableWithoutPort[src]
impl PartialEq<Domain> for DomainLocalhostableWithoutPortAuto Trait Implementations
impl Send for DomainLocalhostableWithoutPort
impl Send for DomainLocalhostableWithoutPortimpl Sync for DomainLocalhostableWithoutPort
impl Sync for DomainLocalhostableWithoutPort