pub struct DeviceLookupResult {
pub node_id: NodeId,
pub current_address: String,
pub address_changed: bool,
pub previous_address: Option<String>,
}Expand description
Result of looking up a device by name
Fields§
§node_id: NodeIdThe node ID for this device
current_address: StringThe current known address
address_changed: boolWhether the address has changed
previous_address: Option<String>The previous address (if changed)
Trait Implementations§
Source§impl Clone for DeviceLookupResult
impl Clone for DeviceLookupResult
Source§fn clone(&self) -> DeviceLookupResult
fn clone(&self) -> DeviceLookupResult
Returns a duplicate of the value. Read more
1.0.0 · 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 DeviceLookupResult
impl RefUnwindSafe for DeviceLookupResult
impl Send for DeviceLookupResult
impl Sync for DeviceLookupResult
impl Unpin for DeviceLookupResult
impl UnsafeUnpin for DeviceLookupResult
impl UnwindSafe for DeviceLookupResult
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