Struct ecu_diagnostics::kwp2000::DiagGlobalParamData
source · pub struct DiagGlobalParamData {
pub number_of_global_analog_values: u8,
pub number_of_global_states: u8,
pub position_in_can_data_frame: u16,
pub process_data: Vec<GlobalProcessData>,
}
Expand description
Global diagnostic parameter data. Used by [super::Kwp2000DiagnosticServer::read_system_diag_global_param_data]
Fields§
§number_of_global_analog_values: u8
Number of analog modules active on the ECU
number_of_global_states: u8
Number of global states
position_in_can_data_frame: u16
First position within diagnostic CAN Frame
process_data: Vec<GlobalProcessData>
List of process data
Trait Implementations§
source§impl Clone for DiagGlobalParamData
impl Clone for DiagGlobalParamData
source§fn clone(&self) -> DiagGlobalParamData
fn clone(&self) -> DiagGlobalParamData
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 DiagGlobalParamData
impl Debug for DiagGlobalParamData
source§impl Ord for DiagGlobalParamData
impl Ord for DiagGlobalParamData
source§fn cmp(&self, other: &DiagGlobalParamData) -> Ordering
fn cmp(&self, other: &DiagGlobalParamData) -> 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 DiagGlobalParamData
impl PartialEq for DiagGlobalParamData
source§fn eq(&self, other: &DiagGlobalParamData) -> bool
fn eq(&self, other: &DiagGlobalParamData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DiagGlobalParamData
impl PartialOrd for DiagGlobalParamData
source§fn partial_cmp(&self, other: &DiagGlobalParamData) -> Option<Ordering>
fn partial_cmp(&self, other: &DiagGlobalParamData) -> 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 DiagGlobalParamData
impl StructuralPartialEq for DiagGlobalParamData
Auto Trait Implementations§
impl Freeze for DiagGlobalParamData
impl RefUnwindSafe for DiagGlobalParamData
impl Send for DiagGlobalParamData
impl Sync for DiagGlobalParamData
impl Unpin for DiagGlobalParamData
impl UnwindSafe for DiagGlobalParamData
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