Struct zeroconf::ServiceType
source · [−]pub struct ServiceType { /* private fields */ }
Expand description
Data type for constructing a service type to register as an mDNS service.
Implementations
sourceimpl ServiceType
impl ServiceType
Trait Implementations
sourceimpl Clone for ServiceType
impl Clone for ServiceType
sourcefn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceType
impl Debug for ServiceType
sourceimpl Default for ServiceType
impl Default for ServiceType
sourcefn default() -> ServiceType
fn default() -> ServiceType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceType
impl<'de> Deserialize<'de> for ServiceType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromStr for ServiceType
impl FromStr for ServiceType
sourceimpl PartialEq<ServiceType> for ServiceType
impl PartialEq<ServiceType> for ServiceType
sourcefn eq(&self, other: &ServiceType) -> bool
fn eq(&self, other: &ServiceType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceType) -> bool
fn ne(&self, other: &ServiceType) -> bool
This method tests for !=
.
sourceimpl Serialize for ServiceType
impl Serialize for ServiceType
sourceimpl ToString for ServiceType
impl ToString for ServiceType
impl Eq for ServiceType
impl StructuralEq for ServiceType
impl StructuralPartialEq for ServiceType
Auto Trait Implementations
impl RefUnwindSafe for ServiceType
impl Send for ServiceType
impl Sync for ServiceType
impl Unpin for ServiceType
impl UnwindSafe for ServiceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more