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