pub struct OpcWriteValues {
pub response_level: ResponseLevel,
pub proportional: f32,
pub integral: f32,
pub derivative: f32,
}Expand description
The literal values to write back to the DCS/PLC for one PidParameters — see
opc_write_values. Distinct from PidParameters because integral/derivative may
differ from the calculated values for controller types that don’t use one or both terms.
Fields§
§response_level: ResponseLevel§proportional: f32§integral: f32§derivative: f32Trait Implementations§
Source§impl Clone for OpcWriteValues
impl Clone for OpcWriteValues
Source§fn clone(&self) -> OpcWriteValues
fn clone(&self) -> OpcWriteValues
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 moreimpl Copy for OpcWriteValues
Source§impl Debug for OpcWriteValues
impl Debug for OpcWriteValues
Source§impl<'de> Deserialize<'de> for OpcWriteValues
impl<'de> Deserialize<'de> for OpcWriteValues
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
Source§impl PartialEq for OpcWriteValues
impl PartialEq for OpcWriteValues
Source§fn eq(&self, other: &OpcWriteValues) -> bool
fn eq(&self, other: &OpcWriteValues) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpcWriteValues
impl Serialize for OpcWriteValues
impl StructuralPartialEq for OpcWriteValues
Auto Trait Implementations§
impl Freeze for OpcWriteValues
impl RefUnwindSafe for OpcWriteValues
impl Send for OpcWriteValues
impl Sync for OpcWriteValues
impl Unpin for OpcWriteValues
impl UnsafeUnpin for OpcWriteValues
impl UnwindSafe for OpcWriteValues
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