Struct mhost::app::modules::lookup::service_spec::ServiceSpec
source · pub struct ServiceSpec { /* private fields */ }
Implementations§
source§impl ServiceSpec
impl ServiceSpec
pub fn to_domain_name(&self) -> String
source§impl ServiceSpec
impl ServiceSpec
pub fn from_str(str: &str) -> Result<ServiceSpec>
Trait Implementations§
source§impl Debug for ServiceSpec
impl Debug for ServiceSpec
source§impl PartialEq for ServiceSpec
impl PartialEq for ServiceSpec
source§fn eq(&self, other: &ServiceSpec) -> bool
fn eq(&self, other: &ServiceSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServiceSpec
impl StructuralPartialEq for ServiceSpec
Auto Trait Implementations§
impl RefUnwindSafe for ServiceSpec
impl Send for ServiceSpec
impl Sync for ServiceSpec
impl Unpin for ServiceSpec
impl UnwindSafe for ServiceSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.