pub struct Ipv6SetupConfig {
pub logical_name: ObisCode,
pub dl_reference: Vec<u8>,
pub address_config_mode: u8,
pub unicast_ipv6_addresses: Vec<Vec<u8>>,
pub multicast_ipv6_addresses: Vec<Vec<u8>>,
pub gateway_ipv6_addresses: Vec<Vec<u8>>,
pub primary_dns_address: Vec<u8>,
pub secondary_dns_address: Vec<u8>,
pub traffic_class: u8,
pub neighbor_discovery_setup: Vec<NeighborDiscoverySetup>,
}Expand description
Configuration structure used to build an Ipv6Setup object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
dl_reference: Vec<u8>Attribute 2: reference to the data link layer setup object.
address_config_mode: u8Attribute 3: address configuration mode (enum).
unicast_ipv6_addresses: Vec<Vec<u8>>Attribute 4: array of unicast IPv6 addresses (octet-string, 16 octets).
multicast_ipv6_addresses: Vec<Vec<u8>>Attribute 5: array of multicast IPv6 addresses.
gateway_ipv6_addresses: Vec<Vec<u8>>Attribute 6: array of gateway IPv6 addresses.
primary_dns_address: Vec<u8>Attribute 7: primary DNS address (octet-string).
secondary_dns_address: Vec<u8>Attribute 8: secondary DNS address (octet-string).
traffic_class: u8Attribute 9: traffic class (0..63).
neighbor_discovery_setup: Vec<NeighborDiscoverySetup>Attribute 10: array of neighbor discovery setup structures.
Trait Implementations§
Source§impl Clone for Ipv6SetupConfig
impl Clone for Ipv6SetupConfig
Source§fn clone(&self) -> Ipv6SetupConfig
fn clone(&self) -> Ipv6SetupConfig
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 Ipv6SetupConfig
impl Debug for Ipv6SetupConfig
Source§impl<'de> Deserialize<'de> for Ipv6SetupConfig
impl<'de> Deserialize<'de> for Ipv6SetupConfig
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 Ipv6SetupConfig
impl RefUnwindSafe for Ipv6SetupConfig
impl Send for Ipv6SetupConfig
impl Sync for Ipv6SetupConfig
impl Unpin for Ipv6SetupConfig
impl UnsafeUnpin for Ipv6SetupConfig
impl UnwindSafe for Ipv6SetupConfig
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