Struct tinkerforge::master_brick::EthernetConfiguration
source · pub struct EthernetConfiguration {
pub connection: u8,
pub ip: [u8; 4],
pub subnet_mask: [u8; 4],
pub gateway: [u8; 4],
pub port: u16,
}
Fields
connection: u8
ip: [u8; 4]
subnet_mask: [u8; 4]
gateway: [u8; 4]
port: u16
Trait Implementations
sourceimpl Clone for EthernetConfiguration
impl Clone for EthernetConfiguration
sourcefn clone(&self) -> EthernetConfiguration
fn clone(&self) -> EthernetConfiguration
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 EthernetConfiguration
impl Debug for EthernetConfiguration
sourceimpl Default for EthernetConfiguration
impl Default for EthernetConfiguration
sourcefn default() -> EthernetConfiguration
fn default() -> EthernetConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for EthernetConfiguration
impl FromByteSlice for EthernetConfiguration
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]) -> EthernetConfiguration
fn from_le_bytes(bytes: &[u8]) -> EthernetConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for EthernetConfiguration
impl Hash for EthernetConfiguration
sourceimpl PartialEq<EthernetConfiguration> for EthernetConfiguration
impl PartialEq<EthernetConfiguration> for EthernetConfiguration
sourcefn eq(&self, other: &EthernetConfiguration) -> bool
fn eq(&self, other: &EthernetConfiguration) -> bool
impl Copy for EthernetConfiguration
impl Eq for EthernetConfiguration
impl StructuralEq for EthernetConfiguration
impl StructuralPartialEq for EthernetConfiguration
Auto Trait Implementations
impl RefUnwindSafe for EthernetConfiguration
impl Send for EthernetConfiguration
impl Sync for EthernetConfiguration
impl Unpin for EthernetConfiguration
impl UnwindSafe for EthernetConfiguration
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