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