pub struct DaimlerEcuIdent {
    pub part_number: String,
    pub ecu_hw_build_week: u8,
    pub ecu_hw_build_year: u8,
    pub ecu_sw_build_week: u8,
    pub ecu_sw_build_year: u8,
    pub supplier: u8,
    pub diag_info: DiagnosticInfo,
    pub ecu_production_year: u8,
    pub ecu_production_month: u8,
    pub ecu_production_day: u8,
}
Expand description

Identification structure read with Kwp2000DiagnosticServer::read_daimler_identification

Fields

part_number: String

10 digital part number

ecu_hw_build_week: u8

Week of the year the ECU hardware was produced

ecu_hw_build_year: u8

Year the ECU hardware was produced

ecu_sw_build_week: u8

Week of the year the ECU software was compiled

ecu_sw_build_year: u8

Year the ECU software was compiled

supplier: u8

Unique supplier ID (Who manufactured the ECU)

diag_info: DiagnosticInfo

Diagnostic information of the ECU

ecu_production_year: u8

Year the ECU was manufactured

ecu_production_month: u8

Month of the year the ECU was manufactured

ecu_production_day: u8

Day of the month the ECU was manufactured

Implementations

Formats the ECU productions date as dd/mm/yy

Formats the ECU software build date as ww/yy

Formats the ECU hardware build date as ww/yy

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.