pub struct DiagnosticsResponse {
pub sub_function: u16,
pub data: u16,
}Expand description
FC08 Diagnostics response echoing the sub-function code and data.
Fields§
§sub_function: u16Sub-function code (e.g., 0x0000 for Return Query Data).
data: u16Diagnostic data word.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticsResponse
impl Clone for DiagnosticsResponse
Source§fn clone(&self) -> DiagnosticsResponse
fn clone(&self) -> DiagnosticsResponse
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 DiagnosticsResponse
impl Debug for DiagnosticsResponse
Source§impl PartialEq for DiagnosticsResponse
impl PartialEq for DiagnosticsResponse
impl Copy for DiagnosticsResponse
impl Eq for DiagnosticsResponse
impl StructuralPartialEq for DiagnosticsResponse
Auto Trait Implementations§
impl Freeze for DiagnosticsResponse
impl RefUnwindSafe for DiagnosticsResponse
impl Send for DiagnosticsResponse
impl Sync for DiagnosticsResponse
impl Unpin for DiagnosticsResponse
impl UnsafeUnpin for DiagnosticsResponse
impl UnwindSafe for DiagnosticsResponse
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