Struct ecu_diagnostics::kwp2000::ModuleInformation
source · [−]pub struct ModuleInformation {
pub active_logical_blocks: u8,
pub module_info: Vec<ModuleBlockInformation>,
}
Expand description
ECU Code block fingerprint
Fields
active_logical_blocks: u8
Number logical blocks marked to be erased.
Special values
- 0x00 - Perform no erase
- 0xFE - Erase all blocks
module_info: Vec<ModuleBlockInformation>
Information on each block
Trait Implementations
sourceimpl Clone for ModuleInformation
impl Clone for ModuleInformation
sourcefn clone(&self) -> ModuleInformation
fn clone(&self) -> ModuleInformation
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 ModuleInformation
impl Debug for ModuleInformation
sourceimpl Ord for ModuleInformation
impl Ord for ModuleInformation
sourceimpl PartialEq<ModuleInformation> for ModuleInformation
impl PartialEq<ModuleInformation> for ModuleInformation
sourcefn eq(&self, other: &ModuleInformation) -> bool
fn eq(&self, other: &ModuleInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModuleInformation) -> bool
fn ne(&self, other: &ModuleInformation) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ModuleInformation> for ModuleInformation
impl PartialOrd<ModuleInformation> for ModuleInformation
sourcefn partial_cmp(&self, other: &ModuleInformation) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleInformation) -> 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 ModuleInformation
impl StructuralEq for ModuleInformation
impl StructuralPartialEq for ModuleInformation
Auto Trait Implementations
impl RefUnwindSafe for ModuleInformation
impl Send for ModuleInformation
impl Sync for ModuleInformation
impl Unpin for ModuleInformation
impl UnwindSafe for ModuleInformation
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more