pub struct RegisterConfig {
pub holding: Vec<RegisterBlock>,
pub input: Vec<RegisterBlock>,
pub coils: Vec<CoilBlock>,
pub discrete_inputs: Vec<CoilBlock>,
}Expand description
Register definitions for all four data tables.
Fields§
§holding: Vec<RegisterBlock>Holding register blocks.
input: Vec<RegisterBlock>Input register blocks.
coils: Vec<CoilBlock>Coil blocks.
discrete_inputs: Vec<CoilBlock>Discrete input blocks.
Trait Implementations§
Source§impl Clone for RegisterConfig
impl Clone for RegisterConfig
Source§fn clone(&self) -> RegisterConfig
fn clone(&self) -> RegisterConfig
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 RegisterConfig
impl Debug for RegisterConfig
Source§impl Default for RegisterConfig
impl Default for RegisterConfig
Source§fn default() -> RegisterConfig
fn default() -> RegisterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterConfig
impl<'de> Deserialize<'de> for RegisterConfig
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 RegisterConfig
impl RefUnwindSafe for RegisterConfig
impl Send for RegisterConfig
impl Sync for RegisterConfig
impl Unpin for RegisterConfig
impl UnsafeUnpin for RegisterConfig
impl UnwindSafe for RegisterConfig
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