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§
source§impl ServiceType
impl ServiceType
Auto-generated by derive_getters::Getters
.
Trait Implementations§
source§impl Clone for ServiceType
impl Clone for ServiceType
source§fn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServiceType
impl Debug for ServiceType
source§impl Default for ServiceType
impl Default for ServiceType
source§fn default() -> ServiceType
fn default() -> ServiceType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceType
impl<'de> Deserialize<'de> for ServiceType
source§fn 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
source§impl FromStr for ServiceType
impl FromStr for ServiceType
source§impl PartialEq for ServiceType
impl PartialEq for ServiceType
source§fn 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 ==
.source§impl Serialize for ServiceType
impl Serialize for ServiceType
impl Eq 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§
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