Struct dlt_core::dlt::MessageConfig
source · 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
sourceimpl Clone for MessageConfig
impl Clone for MessageConfig
sourcefn clone(&self) -> MessageConfig
fn clone(&self) -> MessageConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageConfig
impl Debug for MessageConfig
sourceimpl PartialEq<MessageConfig> for MessageConfig
impl PartialEq<MessageConfig> for MessageConfig
sourcefn eq(&self, other: &MessageConfig) -> bool
fn eq(&self, other: &MessageConfig) -> bool
sourceimpl Serialize for MessageConfig
impl Serialize for MessageConfig
impl StructuralPartialEq for MessageConfig
Auto Trait Implementations
impl RefUnwindSafe for MessageConfig
impl Send for MessageConfig
impl Sync for MessageConfig
impl Unpin for MessageConfig
impl UnwindSafe for MessageConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more