Struct ecu_diagnostics::kwp2000::DiagGeneralParamData
source · pub struct DiagGeneralParamData {
pub global_process_data_exists: bool,
pub internal_communication_mode: u8,
pub sdcom_version: String,
pub sdcom_build_date_year: u16,
pub sdcom_build_date_month: u8,
pub sdcom_build_date_day: u8,
pub sdcom_config_nr: u16,
pub sdcom_reference_nr: u16,
pub checksum: u32,
}
Expand description
SDCOM information. Used by [super::Kwp2000DiagnosticServer::read_system_diag_general_param_data]
Fields§
§global_process_data_exists: bool
Indicates if global process data exists
internal_communication_mode: u8
Internal communication mode
sdcom_version: String
SDCOM-SW module version. Formatted as XX.YY
sdcom_build_date_year: u16
Year of SDCOM build date
sdcom_build_date_month: u8
Month of SDCOM build date
sdcom_build_date_day: u8
Day of SDCOM build date
sdcom_config_nr: u16
Version of SDCOM configuration database
sdcom_reference_nr: u16
Version reference number of SDCOM configuration database
checksum: u32
Checksum
Trait Implementations§
source§impl Clone for DiagGeneralParamData
impl Clone for DiagGeneralParamData
source§fn clone(&self) -> DiagGeneralParamData
fn clone(&self) -> DiagGeneralParamData
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 DiagGeneralParamData
impl Debug for DiagGeneralParamData
source§impl Ord for DiagGeneralParamData
impl Ord for DiagGeneralParamData
source§fn cmp(&self, other: &DiagGeneralParamData) -> Ordering
fn cmp(&self, other: &DiagGeneralParamData) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DiagGeneralParamData
impl PartialEq for DiagGeneralParamData
source§fn eq(&self, other: &DiagGeneralParamData) -> bool
fn eq(&self, other: &DiagGeneralParamData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DiagGeneralParamData
impl PartialOrd for DiagGeneralParamData
source§fn partial_cmp(&self, other: &DiagGeneralParamData) -> Option<Ordering>
fn partial_cmp(&self, other: &DiagGeneralParamData) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DiagGeneralParamData
impl StructuralPartialEq for DiagGeneralParamData
Auto Trait Implementations§
impl Freeze for DiagGeneralParamData
impl RefUnwindSafe for DiagGeneralParamData
impl Send for DiagGeneralParamData
impl Sync for DiagGeneralParamData
impl Unpin for DiagGeneralParamData
impl UnwindSafe for DiagGeneralParamData
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