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
sourceimpl Clone for DaimlerMmcEcuIdent
impl Clone for DaimlerMmcEcuIdent
sourcefn clone(&self) -> DaimlerMmcEcuIdent
fn clone(&self) -> DaimlerMmcEcuIdent
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 more
sourceimpl Debug for DaimlerMmcEcuIdent
impl Debug for DaimlerMmcEcuIdent
sourceimpl Ord for DaimlerMmcEcuIdent
impl Ord for DaimlerMmcEcuIdent
sourceimpl PartialEq<DaimlerMmcEcuIdent> for DaimlerMmcEcuIdent
impl PartialEq<DaimlerMmcEcuIdent> for DaimlerMmcEcuIdent
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DaimlerMmcEcuIdent) -> bool
fn ne(&self, other: &DaimlerMmcEcuIdent) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DaimlerMmcEcuIdent> for DaimlerMmcEcuIdent
impl PartialOrd<DaimlerMmcEcuIdent> for DaimlerMmcEcuIdent
sourcefn partial_cmp(&self, other: &DaimlerMmcEcuIdent) -> Option<Ordering>
fn partial_cmp(&self, other: &DaimlerMmcEcuIdent) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Eq for DaimlerMmcEcuIdent
impl StructuralEq for DaimlerMmcEcuIdent
impl StructuralPartialEq for DaimlerMmcEcuIdent
Auto Trait Implementations
impl RefUnwindSafe for DaimlerMmcEcuIdent
impl Send for DaimlerMmcEcuIdent
impl Sync for DaimlerMmcEcuIdent
impl Unpin for DaimlerMmcEcuIdent
impl UnwindSafe for DaimlerMmcEcuIdent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more