pub struct PointTarget {
pub device_id: Option<String>,
pub point_id: Option<String>,
pub unit_id: Option<u8>,
pub register_type: Option<ModbusRegisterType>,
pub address: Option<u16>,
}Expand description
Point selection used by read/write commands.
Fields§
§device_id: Option<String>§point_id: Option<String>§unit_id: Option<u8>§register_type: Option<ModbusRegisterType>§address: Option<u16>Trait Implementations§
Source§impl Clone for PointTarget
impl Clone for PointTarget
Source§fn clone(&self) -> PointTarget
fn clone(&self) -> PointTarget
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 PointTarget
impl Debug for PointTarget
Source§impl Default for PointTarget
impl Default for PointTarget
Source§fn default() -> PointTarget
fn default() -> PointTarget
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PointTarget
impl RefUnwindSafe for PointTarget
impl Send for PointTarget
impl Sync for PointTarget
impl Unpin for PointTarget
impl UnsafeUnpin for PointTarget
impl UnwindSafe for PointTarget
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