pub struct MessageConfig {
pub version: u8,
pub counter: u8,
pub endianness: Endianness,
pub ecu_id: Option<String>,
pub session_id: Option<u32>,
pub timestamp: Option<u32>,
pub payload: PayloadContent,
pub extended_header_info: Option<ExtendedHeaderConfig>,
}
Expand description
Configuration options for a DLT message, used when constructing a message
Fields§
§version: u8
§counter: u8
§endianness: Endianness
§ecu_id: Option<String>
§session_id: Option<u32>
§timestamp: Option<u32>
§payload: PayloadContent
§extended_header_info: Option<ExtendedHeaderConfig>
Trait Implementations§
Source§impl Clone for MessageConfig
impl Clone for MessageConfig
Source§fn clone(&self) -> MessageConfig
fn clone(&self) -> MessageConfig
Returns a copy 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 MessageConfig
impl Debug for MessageConfig
Source§impl PartialEq for MessageConfig
impl PartialEq for MessageConfig
impl StructuralPartialEq for MessageConfig
Auto Trait Implementations§
impl Freeze for MessageConfig
impl RefUnwindSafe for MessageConfig
impl Send for MessageConfig
impl Sync for MessageConfig
impl Unpin for MessageConfig
impl UnwindSafe for MessageConfig
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