//! In-memory representation of an SAE J1939 / NMEA 2000 CAN frame.
usecrate::protocol::transport::can_id::CanId;#[derive(Copy, Clone, Debug, PartialEq, Eq)]/// Raw NMEA 2000 frame as read from the CAN bus.
pubstructCanFrame{/// Full 29-bit CAN identifier stored inside a `u32`.
pubid: CanId,
/// Payload buffer. Classic CAN frames always provide eight bytes.
pubdata: [u8; 8],
/// Number of valid payload bytes (Data Length Code, 0 to 8).
publen:usize,
}