pub struct Cmv {
pub c_val: Option<Vector>,
pub q: Option<Quality>,
pub t: Option<Timestamp>,
pub units: Option<Unit>,
}
Expand description
Complex measured value (CMV)
Fields§
§c_val: Option<Vector>
Complex value based on a deadband calculation from the instantaneous value ‘instCVal.mag’. The deadband calculation is done both on ‘instCVal.mag’ (based on ‘db’) and on ‘instCVal.ang’ (based on ‘dbAng’), independently. See ‘MV.mag’.
q: Option<Quality>
Quality of the values in ‘instCVal’, ‘cVal’, ‘range’, ‘rangeAng’.
t: Option<Timestamp>
Timestamp of the last refresh of the value in ‘cVal’ or of the last change of the value in any of ‘range’, ‘rangeAng’ or ‘q’.
units: Option<Unit>
Units for: ‘instCVal.mag’, ‘cVal.mag’, ‘subCVal.mag’, ‘rangeC’.
Trait Implementations§
Source§impl Message for Cmv
impl Message for Cmv
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
.impl StructuralPartialEq for Cmv
Auto Trait Implementations§
impl Freeze for Cmv
impl RefUnwindSafe for Cmv
impl Send for Cmv
impl Sync for Cmv
impl Unpin for Cmv
impl UnwindSafe for Cmv
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