pub struct ContractPlan {
pub services: Vec<ContractService>,
pub methods: Vec<MethodPlan>,
pub total_coils: u16,
pub total_discrete_inputs: u16,
pub total_holding_registers: u16,
pub total_input_registers: u16,
}Fields§
§services: Vec<ContractService>§methods: Vec<MethodPlan>§total_coils: u16§total_discrete_inputs: u16§total_holding_registers: u16§total_input_registers: u16Trait Implementations§
Source§impl Clone for ContractPlan
impl Clone for ContractPlan
Source§fn clone(&self) -> ContractPlan
fn clone(&self) -> ContractPlan
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 ContractPlan
impl Debug for ContractPlan
Source§impl PartialEq for ContractPlan
impl PartialEq for ContractPlan
Source§fn eq(&self, other: &ContractPlan) -> bool
fn eq(&self, other: &ContractPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ContractPlan
impl StructuralPartialEq for ContractPlan
Auto Trait Implementations§
impl Freeze for ContractPlan
impl RefUnwindSafe for ContractPlan
impl Send for ContractPlan
impl Sync for ContractPlan
impl Unpin for ContractPlan
impl UnsafeUnpin for ContractPlan
impl UnwindSafe for ContractPlan
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