pub struct Advertised {
pub fullname: String,
pub hostname: String,
pub port: u16,
}Expand description
The record the host published.
Fields§
§fullname: StringThe full service instance name
(<instance>.<service type>.local.).
hostname: StringThe SRV target: the system hostname avahi answers for.
port: u16Trait Implementations§
Source§impl Clone for Advertised
impl Clone for Advertised
Source§impl Debug for Advertised
impl Debug for Advertised
Source§impl<'de> Deserialize<'de> for Advertised
impl<'de> Deserialize<'de> for Advertised
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
impl Eq for Advertised
Source§impl PartialEq for Advertised
impl PartialEq for Advertised
Source§impl Serialize for Advertised
impl Serialize for Advertised
impl StructuralPartialEq for Advertised
Auto Trait Implementations§
impl Freeze for Advertised
impl RefUnwindSafe for Advertised
impl Send for Advertised
impl Sync for Advertised
impl Unpin for Advertised
impl UnsafeUnpin for Advertised
impl UnwindSafe for Advertised
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.