pub struct NetworkDeviceSummary {
pub serial_number: u32,
pub ip_address: [u8; 4],
pub host_ip: [u8; 4],
pub firmware_version_major: u8,
pub firmware_version_minor: u8,
pub firmware_revision: u8,
pub user_id: u8,
pub dhcp: u8,
pub hw_type: u8,
pub use_udp: u8,
}Expand description
Network device summary for enumeration
Fields§
§serial_number: u32§ip_address: [u8; 4]§host_ip: [u8; 4]§firmware_version_major: u8§firmware_version_minor: u8§firmware_revision: u8§user_id: u8§dhcp: u8§hw_type: u8§use_udp: u8Trait Implementations§
Source§impl Clone for NetworkDeviceSummary
impl Clone for NetworkDeviceSummary
Source§fn clone(&self) -> NetworkDeviceSummary
fn clone(&self) -> NetworkDeviceSummary
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 moreSource§impl Debug for NetworkDeviceSummary
impl Debug for NetworkDeviceSummary
Source§impl<'de> Deserialize<'de> for NetworkDeviceSummary
impl<'de> Deserialize<'de> for NetworkDeviceSummary
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
Auto Trait Implementations§
impl Freeze for NetworkDeviceSummary
impl RefUnwindSafe for NetworkDeviceSummary
impl Send for NetworkDeviceSummary
impl Sync for NetworkDeviceSummary
impl Unpin for NetworkDeviceSummary
impl UnsafeUnpin for NetworkDeviceSummary
impl UnwindSafe for NetworkDeviceSummary
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