pub struct Advertisement {
pub name: String,
pub service_type: String,
pub port: u16,
pub txt: TxtRecord,
pub interface: u32,
}Fields§
§name: String§service_type: String§port: u16§txt: TxtRecord§interface: u32Trait Implementations§
Source§impl Clone for Advertisement
impl Clone for Advertisement
Auto Trait Implementations§
impl Freeze for Advertisement
impl RefUnwindSafe for Advertisement
impl Send for Advertisement
impl Sync for Advertisement
impl Unpin for Advertisement
impl UnsafeUnpin for Advertisement
impl UnwindSafe for Advertisement
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