Struct ecu_diagnostics::kwp2000::BlockIdentification
source · [−]pub struct BlockIdentification {
pub supplier_id: u8,
pub diag_info: DiagnosticInfo,
pub sw_version: String,
pub part_number: String,
}
Expand description
Identification of a software block on the ECU
Fields
supplier_id: u8
ECU Code block supplier info
diag_info: DiagnosticInfo
Code block Diagnostic information
sw_version: String
Code block Software version. Formatted as XX.YY.ZZ
part_number: String
Code block part number
Trait Implementations
sourceimpl Clone for BlockIdentification
impl Clone for BlockIdentification
sourcefn clone(&self) -> BlockIdentification
fn clone(&self) -> BlockIdentification
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 BlockIdentification
impl Debug for BlockIdentification
sourceimpl Ord for BlockIdentification
impl Ord for BlockIdentification
sourceimpl PartialEq<BlockIdentification> for BlockIdentification
impl PartialEq<BlockIdentification> for BlockIdentification
sourcefn eq(&self, other: &BlockIdentification) -> bool
fn eq(&self, other: &BlockIdentification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BlockIdentification) -> bool
fn ne(&self, other: &BlockIdentification) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BlockIdentification> for BlockIdentification
impl PartialOrd<BlockIdentification> for BlockIdentification
sourcefn partial_cmp(&self, other: &BlockIdentification) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockIdentification) -> 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 BlockIdentification
impl StructuralEq for BlockIdentification
impl StructuralPartialEq for BlockIdentification
Auto Trait Implementations
impl RefUnwindSafe for BlockIdentification
impl Send for BlockIdentification
impl Sync for BlockIdentification
impl Unpin for BlockIdentification
impl UnwindSafe for BlockIdentification
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