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
sourceimpl Clone for DiagGeneralParamData
impl Clone for DiagGeneralParamData
sourcefn clone(&self) -> DiagGeneralParamData
fn clone(&self) -> DiagGeneralParamData
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 DiagGeneralParamData
impl Debug for DiagGeneralParamData
sourceimpl Ord for DiagGeneralParamData
impl Ord for DiagGeneralParamData
sourceimpl PartialEq<DiagGeneralParamData> for DiagGeneralParamData
impl PartialEq<DiagGeneralParamData> for DiagGeneralParamData
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DiagGeneralParamData) -> bool
fn ne(&self, other: &DiagGeneralParamData) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DiagGeneralParamData> for DiagGeneralParamData
impl PartialOrd<DiagGeneralParamData> for DiagGeneralParamData
sourcefn partial_cmp(&self, other: &DiagGeneralParamData) -> Option<Ordering>
fn partial_cmp(&self, other: &DiagGeneralParamData) -> 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 DiagGeneralParamData
impl StructuralEq for DiagGeneralParamData
impl StructuralPartialEq for DiagGeneralParamData
Auto Trait Implementations
impl RefUnwindSafe for DiagGeneralParamData
impl Send for DiagGeneralParamData
impl Sync for DiagGeneralParamData
impl Unpin for DiagGeneralParamData
impl UnwindSafe for DiagGeneralParamData
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