pub struct BonjourService {
pub instance: String,
pub port: u16,
pub addresses: Vec<String>,
pub properties: HashMap<String, String>,
}Fields§
§instance: String§port: u16§addresses: Vec<String>§properties: HashMap<String, String>Trait Implementations§
Source§impl Clone for BonjourService
impl Clone for BonjourService
Source§fn clone(&self) -> BonjourService
fn clone(&self) -> BonjourService
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 moreSource§impl Debug for BonjourService
impl Debug for BonjourService
Source§impl PartialEq for BonjourService
impl PartialEq for BonjourService
Source§fn eq(&self, other: &BonjourService) -> bool
fn eq(&self, other: &BonjourService) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BonjourService
impl StructuralPartialEq for BonjourService
Auto Trait Implementations§
impl Freeze for BonjourService
impl RefUnwindSafe for BonjourService
impl Send for BonjourService
impl Sync for BonjourService
impl Unpin for BonjourService
impl UnsafeUnpin for BonjourService
impl UnwindSafe for BonjourService
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.