pub struct ControlValue {
pub identified_object: Option<IdentifiedObject>,
pub mod_blk: Option<bool>,
}
Expand description
The value of a control command which could either be a setpoint or a control schedule in curve. The attribute modBlk is used to tag out a device. if it is TRUE, any setpoints and control schedule in a message payload should be ignored. It should also be presented in a status profile. Any modBlk value change (i.e. TRUE to FALSE and vice versa) should trigger an event.
Fields§
§identified_object: Option<IdentifiedObject>
UML inherited base object
mod_blk: Option<bool>
The attribute modBlk is used to tag out a device. if it is TRUE, any setpoints and control schedule in a message payload should be ignored. It should also be presented in a status profile. Any modBlk value change (i.e. TRUE to FALSE and vice versa) should trigger an event.
Trait Implementations§
Source§impl Clone for ControlValue
impl Clone for ControlValue
Source§fn clone(&self) -> ControlValue
fn clone(&self) -> ControlValue
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 ControlValue
impl Debug for ControlValue
Source§impl Default for ControlValue
impl Default for ControlValue
Source§fn default() -> ControlValue
fn default() -> ControlValue
Returns the “default value” for a type. Read more
Source§impl Message for ControlValue
impl Message for ControlValue
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for ControlValue
impl PartialEq for ControlValue
impl StructuralPartialEq for ControlValue
Auto Trait Implementations§
impl Freeze for ControlValue
impl RefUnwindSafe for ControlValue
impl Send for ControlValue
impl Sync for ControlValue
impl Unpin for ControlValue
impl UnwindSafe for ControlValue
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