Struct zeroconf::service::ServiceRegistration
source · pub struct ServiceRegistration { /* private fields */ }
Expand description
Represents a registration event for a MdnsService
.
Implementations§
source§impl ServiceRegistration
impl ServiceRegistration
Auto-generated by derive_getters::Getters
.
sourcepub fn service_type(&self) -> &ServiceType
pub fn service_type(&self) -> &ServiceType
Get field service_type
from instance of ServiceRegistration
.
Trait Implementations§
source§impl Clone for ServiceRegistration
impl Clone for ServiceRegistration
source§fn clone(&self) -> ServiceRegistration
fn clone(&self) -> ServiceRegistration
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 ServiceRegistration
impl Debug for ServiceRegistration
source§impl Default for ServiceRegistration
impl Default for ServiceRegistration
source§fn default() -> ServiceRegistration
fn default() -> ServiceRegistration
Returns the “default value” for a type. Read more
source§impl PartialEq for ServiceRegistration
impl PartialEq for ServiceRegistration
source§fn eq(&self, other: &ServiceRegistration) -> bool
fn eq(&self, other: &ServiceRegistration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServiceRegistration
impl StructuralPartialEq for ServiceRegistration
Auto Trait Implementations§
impl RefUnwindSafe for ServiceRegistration
impl Send for ServiceRegistration
impl Sync for ServiceRegistration
impl Unpin for ServiceRegistration
impl UnwindSafe for ServiceRegistration
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