Struct validators::host::HostLocalable [−][src]
pub struct HostLocalable(_);
Methods
impl HostLocalable
[src]
impl HostLocalable
pub fn from_string(host: String) -> Result<HostLocalable, HostError>
[src]
pub fn from_string(host: String) -> Result<HostLocalable, HostError>
pub fn from_str(host: &str) -> Result<HostLocalable, HostError>
[src]
pub fn from_str(host: &str) -> Result<HostLocalable, HostError>
pub fn from_host(host: Host) -> Result<HostLocalable, HostError>
[src]
pub fn from_host(host: Host) -> Result<HostLocalable, HostError>
pub fn into_host(self) -> Host
[src]
pub fn into_host(self) -> Host
pub fn as_host(&self) -> &Host
[src]
pub fn as_host(&self) -> &Host
impl HostLocalable
[src]
impl HostLocalable
pub fn get_full_host(&self) -> &str
[src]
pub fn get_full_host(&self) -> &str
pub fn get_full_host_without_port(&self) -> &str
[src]
pub fn get_full_host_without_port(&self) -> &str
impl HostLocalable
[src]
impl HostLocalable
Trait Implementations
impl Clone for HostLocalable
[src]
impl Clone for HostLocalable
fn clone(&self) -> HostLocalable
[src]
fn clone(&self) -> HostLocalable
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<HostLocalable> for Host
[src]
impl From<HostLocalable> for Host
fn from(d: HostLocalable) -> Self
[src]
fn from(d: HostLocalable) -> Self
Performs the conversion.
impl Validated for HostLocalable
[src]
impl Validated for HostLocalable
impl Debug for HostLocalable
[src]
impl Debug for HostLocalable
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 HostLocalable
[src]
impl Display for HostLocalable
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 HostLocalable
[src]
impl PartialEq for HostLocalable
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<Host> for HostLocalable
[src]
impl PartialEq<Host> for HostLocalable
Auto Trait Implementations
impl Send for HostLocalable
impl Send for HostLocalable
impl Sync for HostLocalable
impl Sync for HostLocalable