pub struct MacAddressSetupConfig {
pub logical_name: ObisCode,
pub mac_address: Vec<u8>,
}Expand description
Configuration structure used to build a MacAddressSetup object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
mac_address: Vec<u8>Attribute 2: the Ethernet MAC address (octet-string, typically 6 octets).
Trait Implementations§
Source§impl Clone for MacAddressSetupConfig
impl Clone for MacAddressSetupConfig
Source§fn clone(&self) -> MacAddressSetupConfig
fn clone(&self) -> MacAddressSetupConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MacAddressSetupConfig
impl Debug for MacAddressSetupConfig
Source§impl<'de> Deserialize<'de> for MacAddressSetupConfig
impl<'de> Deserialize<'de> for MacAddressSetupConfig
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 MacAddressSetupConfig
impl RefUnwindSafe for MacAddressSetupConfig
impl Send for MacAddressSetupConfig
impl Sync for MacAddressSetupConfig
impl Unpin for MacAddressSetupConfig
impl UnsafeUnpin for MacAddressSetupConfig
impl UnwindSafe for MacAddressSetupConfig
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