Struct validators::domain::DomainLocalhostableAllowPort [−][src]
pub struct DomainLocalhostableAllowPort(_);
Methods
impl DomainLocalhostableAllowPort
[src]
impl DomainLocalhostableAllowPort
pub fn from_string(
full_domain: String
) -> Result<DomainLocalhostableAllowPort, DomainError>
[src]
pub fn from_string(
full_domain: String
) -> Result<DomainLocalhostableAllowPort, DomainError>
pub fn from_str(
full_domain: &str
) -> Result<DomainLocalhostableAllowPort, DomainError>
[src]
pub fn from_str(
full_domain: &str
) -> Result<DomainLocalhostableAllowPort, DomainError>
pub fn from_domain(
domain: Domain
) -> Result<DomainLocalhostableAllowPort, DomainError>
[src]
pub fn from_domain(
domain: Domain
) -> Result<DomainLocalhostableAllowPort, 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 DomainLocalhostableAllowPort
[src]
impl DomainLocalhostableAllowPort
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 DomainLocalhostableAllowPort
[src]
impl DomainLocalhostableAllowPort
pub fn get_full_domain_without_port(&self) -> &str
[src]
pub fn get_full_domain_without_port(&self) -> &str
pub fn get_port(&self) -> Option<DomainPort>
[src]
pub fn get_port(&self) -> Option<DomainPort>
pub fn is_localhost(&self) -> bool
[src]
pub fn is_localhost(&self) -> bool
Trait Implementations
impl Clone for DomainLocalhostableAllowPort
[src]
impl Clone for DomainLocalhostableAllowPort
fn clone(&self) -> DomainLocalhostableAllowPort
[src]
fn clone(&self) -> DomainLocalhostableAllowPort
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<DomainLocalhostableAllowPort> for Domain
[src]
impl From<DomainLocalhostableAllowPort> for Domain
fn from(d: DomainLocalhostableAllowPort) -> Self
[src]
fn from(d: DomainLocalhostableAllowPort) -> Self
Performs the conversion.
impl Validated for DomainLocalhostableAllowPort
[src]
impl Validated for DomainLocalhostableAllowPort
impl Display for DomainLocalhostableAllowPort
[src]
impl Display for DomainLocalhostableAllowPort
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 DomainLocalhostableAllowPort
[src]
impl PartialEq for DomainLocalhostableAllowPort
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 DomainLocalhostableAllowPort
[src]
impl PartialEq<Domain> for DomainLocalhostableAllowPort
Auto Trait Implementations
impl Send for DomainLocalhostableAllowPort
impl Send for DomainLocalhostableAllowPort
impl Sync for DomainLocalhostableAllowPort
impl Sync for DomainLocalhostableAllowPort