pub struct RegisterActivationConfig {
pub logical_name: ObisCode,
pub register_assignment: Vec<ObjectDefinition>,
pub mask_list: Vec<RegisterActMask>,
pub active_mask: Vec<u8>,
}Expand description
Configuration used to build a RegisterActivation object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
register_assignment: Vec<ObjectDefinition>Attribute 2: array of object_definition structures the masks may select.
mask_list: Vec<RegisterActMask>Attribute 3: array of mask structures { mask_name, index list }.
active_mask: Vec<u8>Attribute 4: name of the currently active mask.
Trait Implementations§
Source§impl Clone for RegisterActivationConfig
impl Clone for RegisterActivationConfig
Source§fn clone(&self) -> RegisterActivationConfig
fn clone(&self) -> RegisterActivationConfig
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 RegisterActivationConfig
impl Debug for RegisterActivationConfig
Source§impl<'de> Deserialize<'de> for RegisterActivationConfig
impl<'de> Deserialize<'de> for RegisterActivationConfig
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 RegisterActivationConfig
impl RefUnwindSafe for RegisterActivationConfig
impl Send for RegisterActivationConfig
impl Sync for RegisterActivationConfig
impl Unpin for RegisterActivationConfig
impl UnsafeUnpin for RegisterActivationConfig
impl UnwindSafe for RegisterActivationConfig
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