pub struct DecodedMessage {
pub name: String,
pub msg_id: u32,
pub is_extended: bool,
pub tx_node: String,
pub signals: HashMap<String, DecodedSignal>,
}Expand description
A decoded CAN message containing signal values.
This structure represents a fully decoded CAN message with all its signals extracted and converted to physical values.
Fields§
§name: StringThe name of the message as defined in the DBC file
msg_id: u32The CAN message ID
is_extended: boolWhether this is an extended (29-bit) CAN ID
tx_node: StringTransmitting node of the message (“Unknown” if not specified)
signals: HashMap<String, DecodedSignal>Map of signal names to their decoded values
Trait Implementations§
Source§impl Clone for DecodedMessage
impl Clone for DecodedMessage
Source§fn clone(&self) -> DecodedMessage
fn clone(&self) -> DecodedMessage
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 moreAuto Trait Implementations§
impl Freeze for DecodedMessage
impl RefUnwindSafe for DecodedMessage
impl Send for DecodedMessage
impl Sync for DecodedMessage
impl Unpin for DecodedMessage
impl UnsafeUnpin for DecodedMessage
impl UnwindSafe for DecodedMessage
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