Struct ecu_diagnostics::kwp2000::DaimlerMmcEcuIdent
source · pub struct DaimlerMmcEcuIdent {
pub ecu_origin: u8,
pub supplier: u8,
pub diag_info: DiagnosticInfo,
pub hw_version: String,
pub sw_version: String,
pub part_number: String,
}
Expand description
Identification structure read with [Kwp2000DiagnosticServer::read_daimler_mmc_identification]
Fields§
§ecu_origin: u8
Unknown
supplier: u8
Unique supplier ID (Who manufactured the ECU)
diag_info: DiagnosticInfo
Diagnostic information of the ECU
hw_version: String
Hardware version. Formatted as XX_YY
sw_version: String
Software version. Formatted as XX.YY.ZZ
part_number: String
ECU Part number (10 character alpha-numeric string)
Trait Implementations§
source§impl Clone for DaimlerMmcEcuIdent
impl Clone for DaimlerMmcEcuIdent
source§fn clone(&self) -> DaimlerMmcEcuIdent
fn clone(&self) -> DaimlerMmcEcuIdent
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 DaimlerMmcEcuIdent
impl Debug for DaimlerMmcEcuIdent
source§impl Ord for DaimlerMmcEcuIdent
impl Ord for DaimlerMmcEcuIdent
source§fn cmp(&self, other: &DaimlerMmcEcuIdent) -> Ordering
fn cmp(&self, other: &DaimlerMmcEcuIdent) -> 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 DaimlerMmcEcuIdent
impl PartialEq for DaimlerMmcEcuIdent
source§fn eq(&self, other: &DaimlerMmcEcuIdent) -> bool
fn eq(&self, other: &DaimlerMmcEcuIdent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DaimlerMmcEcuIdent
impl PartialOrd for DaimlerMmcEcuIdent
source§fn partial_cmp(&self, other: &DaimlerMmcEcuIdent) -> Option<Ordering>
fn partial_cmp(&self, other: &DaimlerMmcEcuIdent) -> 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 DaimlerMmcEcuIdent
impl StructuralPartialEq for DaimlerMmcEcuIdent
Auto Trait Implementations§
impl Freeze for DaimlerMmcEcuIdent
impl RefUnwindSafe for DaimlerMmcEcuIdent
impl Send for DaimlerMmcEcuIdent
impl Sync for DaimlerMmcEcuIdent
impl Unpin for DaimlerMmcEcuIdent
impl UnwindSafe for DaimlerMmcEcuIdent
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