Struct validators::domain::DomainLocalhostableWithoutPort [−][src]
pub struct DomainLocalhostableWithoutPort(_);
Methods
impl DomainLocalhostableWithoutPort
[src]
impl DomainLocalhostableWithoutPort
pub 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) -> Domain
pub fn as_domain(&self) -> &Domain
[src]
pub fn as_domain(&self) -> &Domain
impl DomainLocalhostableWithoutPort
[src]
impl DomainLocalhostableWithoutPort
pub 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) -> &str
pub 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) -> &str
impl DomainLocalhostableWithoutPort
[src]
impl DomainLocalhostableWithoutPort
pub fn is_localhost(&self) -> bool
[src]
pub fn is_localhost(&self) -> bool
Trait Implementations
impl Clone for DomainLocalhostableWithoutPort
[src]
impl Clone for DomainLocalhostableWithoutPort
fn clone(&self) -> DomainLocalhostableWithoutPort
[src]
fn clone(&self) -> DomainLocalhostableWithoutPort
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<DomainLocalhostableWithoutPort> for Domain
[src]
impl From<DomainLocalhostableWithoutPort> for Domain
fn from(d: DomainLocalhostableWithoutPort) -> Self
[src]
fn from(d: DomainLocalhostableWithoutPort) -> Self
Performs the conversion.
impl Validated for DomainLocalhostableWithoutPort
[src]
impl Validated for DomainLocalhostableWithoutPort
impl Display for DomainLocalhostableWithoutPort
[src]
impl Display for DomainLocalhostableWithoutPort
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 DomainLocalhostableWithoutPort
[src]
impl PartialEq for DomainLocalhostableWithoutPort
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<Domain> for DomainLocalhostableWithoutPort
[src]
impl PartialEq<Domain> for DomainLocalhostableWithoutPort
Auto Trait Implementations
impl Send for DomainLocalhostableWithoutPort
impl Send for DomainLocalhostableWithoutPort
impl Sync for DomainLocalhostableWithoutPort
impl Sync for DomainLocalhostableWithoutPort