Struct tinkerforge::master_brick::EthernetStatus
source · pub struct EthernetStatus {
pub mac_address: [u8; 6],
pub ip: [u8; 4],
pub subnet_mask: [u8; 4],
pub gateway: [u8; 4],
pub rx_count: u32,
pub tx_count: u32,
pub hostname: String,
}
Fields
mac_address: [u8; 6]
ip: [u8; 4]
subnet_mask: [u8; 4]
gateway: [u8; 4]
rx_count: u32
tx_count: u32
hostname: String
Trait Implementations
sourceimpl Clone for EthernetStatus
impl Clone for EthernetStatus
sourcefn clone(&self) -> EthernetStatus
fn clone(&self) -> EthernetStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EthernetStatus
impl Debug for EthernetStatus
sourceimpl Default for EthernetStatus
impl Default for EthernetStatus
sourcefn default() -> EthernetStatus
fn default() -> EthernetStatus
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for EthernetStatus
impl FromByteSlice for EthernetStatus
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> EthernetStatus
fn from_le_bytes(bytes: &[u8]) -> EthernetStatus
Deserialize the implementing type from a byte slice.
sourceimpl Hash for EthernetStatus
impl Hash for EthernetStatus
sourceimpl PartialEq<EthernetStatus> for EthernetStatus
impl PartialEq<EthernetStatus> for EthernetStatus
sourcefn eq(&self, other: &EthernetStatus) -> bool
fn eq(&self, other: &EthernetStatus) -> bool
impl Eq for EthernetStatus
impl StructuralEq for EthernetStatus
impl StructuralPartialEq for EthernetStatus
Auto Trait Implementations
impl RefUnwindSafe for EthernetStatus
impl Send for EthernetStatus
impl Sync for EthernetStatus
impl Unpin for EthernetStatus
impl UnwindSafe for EthernetStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more