pub struct InMemoryPointModel {
pub coils: CoilBank,
pub discrete_inputs: CoilBank,
pub holding_registers: RegisterBank,
pub input_registers: RegisterBank,
}Expand description
The four Modbus address spaces: coils, discrete inputs, holding registers, and input registers.
Fields§
§coils: CoilBank§discrete_inputs: CoilBank§holding_registers: RegisterBank§input_registers: RegisterBankImplementations§
Trait Implementations§
Source§impl Clone for InMemoryPointModel
impl Clone for InMemoryPointModel
Source§fn clone(&self) -> InMemoryPointModel
fn clone(&self) -> InMemoryPointModel
Returns a duplicate of the value. Read more
1.0.0 · 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 InMemoryPointModel
impl Debug for InMemoryPointModel
Source§impl PartialEq for InMemoryPointModel
impl PartialEq for InMemoryPointModel
impl Eq for InMemoryPointModel
impl StructuralPartialEq for InMemoryPointModel
Auto Trait Implementations§
impl Freeze for InMemoryPointModel
impl RefUnwindSafe for InMemoryPointModel
impl Send for InMemoryPointModel
impl Sync for InMemoryPointModel
impl Unpin for InMemoryPointModel
impl UnsafeUnpin for InMemoryPointModel
impl UnwindSafe for InMemoryPointModel
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