pub struct RemovedService {
pub name: String,
pub service_type: String,
pub domain: String,
pub interface_index: Option<NonZeroU32>,
}Expand description
Identity of a service instance that disappeared.
Browsing does not provide resolved data on removal, so only the identifying fields are available.
Fields§
§name: StringThe service instance name.
service_type: StringThe service type, e.g. _http._tcp.
domain: StringThe domain the service was discovered in.
interface_index: Option<NonZeroU32>The interface the service was discovered on, if known.
Trait Implementations§
Source§impl Clone for RemovedService
impl Clone for RemovedService
Source§fn clone(&self) -> RemovedService
fn clone(&self) -> RemovedService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemovedService
impl RefUnwindSafe for RemovedService
impl Send for RemovedService
impl Sync for RemovedService
impl Unpin for RemovedService
impl UnsafeUnpin for RemovedService
impl UnwindSafe for RemovedService
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