pub struct DiagnosticsDataResponse {
pub sub_function: DiagnosticSubFunction,
pub data: Vec<u16>,
}Expand description
Diagnostics response payload returned by FC 08.
Fields§
§sub_function: DiagnosticSubFunctionEchoed diagnostic sub-function code.
data: Vec<u16>Echoed diagnostic data words.
Trait Implementations§
Source§impl Clone for DiagnosticsDataResponse
impl Clone for DiagnosticsDataResponse
Source§fn clone(&self) -> DiagnosticsDataResponse
fn clone(&self) -> DiagnosticsDataResponse
Returns a duplicate 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 DiagnosticsDataResponse
impl Debug for DiagnosticsDataResponse
Source§impl PartialEq for DiagnosticsDataResponse
impl PartialEq for DiagnosticsDataResponse
impl Eq for DiagnosticsDataResponse
impl StructuralPartialEq for DiagnosticsDataResponse
Auto Trait Implementations§
impl Freeze for DiagnosticsDataResponse
impl RefUnwindSafe for DiagnosticsDataResponse
impl Send for DiagnosticsDataResponse
impl Sync for DiagnosticsDataResponse
impl Unpin for DiagnosticsDataResponse
impl UnsafeUnpin for DiagnosticsDataResponse
impl UnwindSafe for DiagnosticsDataResponse
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