pub struct MacAddressSetupAttrs {
pub logical_name: LogicalName,
pub unicast_mac_address: [u8; 6],
pub broadcast_mac_address: [u8; 6],
pub multicast_mac_address: [u8; 6],
}Expand description
MAC address setup class (class_id = 43) attributes.
- attr 1: logical_name (octet-string)
- attr 2: unicast_mac_address (octet-string, 6 bytes)
- attr 3: broadcast_mac_address (octet-string, 6 bytes)
- attr 4: multicast_mac_address (octet-string, 6 bytes)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
unicast_mac_address: [u8; 6]Unicast MAC address, 6 bytes (attribute 2).
broadcast_mac_address: [u8; 6]Broadcast MAC address, 6 bytes (attribute 3).
multicast_mac_address: [u8; 6]Multicast MAC address, 6 bytes (attribute 4).
Trait Implementations§
Source§impl Clone for MacAddressSetupAttrs
impl Clone for MacAddressSetupAttrs
Source§fn clone(&self) -> MacAddressSetupAttrs
fn clone(&self) -> MacAddressSetupAttrs
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 MacAddressSetupAttrs
impl Debug for MacAddressSetupAttrs
Source§impl<'de> Deserialize<'de> for MacAddressSetupAttrs
impl<'de> Deserialize<'de> for MacAddressSetupAttrs
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 MacAddressSetupAttrs
impl RefUnwindSafe for MacAddressSetupAttrs
impl Send for MacAddressSetupAttrs
impl Sync for MacAddressSetupAttrs
impl Unpin for MacAddressSetupAttrs
impl UnsafeUnpin for MacAddressSetupAttrs
impl UnwindSafe for MacAddressSetupAttrs
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