pub struct Device {
pub fingerprint: String,
pub alias: String,
pub device_model: Option<String>,
pub device_type: Option<String>,
pub ip: String,
pub port: u16,
pub protocol: String,
pub px: bool,
}Expand description
A device on the network.
Fields§
§fingerprint: String§alias: String§device_model: Option<String>§device_type: Option<String>§ip: String§port: u16§protocol: String§px: boolThe device announced the Pulse extensions (Bonjour TXT px=1). A host
decides what to offer; LocalSend-only devices report false.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnsafeUnpin for Device
impl UnwindSafe for Device
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