pub struct Dtc {
pub code: String,
pub category: DtcCategory,
pub status: DtcStatus,
pub description: Option<String>,
pub severity: Option<Severity>,
pub source_module: Option<String>,
pub notes: Option<String>,
}Expand description
A Diagnostic Trouble Code read from the vehicle.
Fields§
§code: String§category: DtcCategory§status: DtcStatus§description: Option<String>§severity: Option<Severity>§source_module: Option<String>§notes: Option<String>Implementations§
Trait Implementations§
impl Eq for Dtc
impl StructuralPartialEq for Dtc
Auto Trait Implementations§
impl Freeze for Dtc
impl RefUnwindSafe for Dtc
impl Send for Dtc
impl Sync for Dtc
impl Unpin for Dtc
impl UnsafeUnpin for Dtc
impl UnwindSafe for Dtc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.