Struct aws_sdk_iotfleetwise::types::ObdInterface
source · #[non_exhaustive]pub struct ObdInterface { /* private fields */ }Expand description
A network interface that specifies the On-board diagnostic (OBD) II network protocol.
Implementations§
source§impl ObdInterface
impl ObdInterface
sourcepub fn request_message_id(&self) -> i32
pub fn request_message_id(&self) -> i32
The ID of the message requesting vehicle data.
sourcepub fn obd_standard(&self) -> Option<&str>
pub fn obd_standard(&self) -> Option<&str>
The standard OBD II PID.
sourcepub fn pid_request_interval_seconds(&self) -> i32
pub fn pid_request_interval_seconds(&self) -> i32
The maximum number message requests per second.
sourcepub fn dtc_request_interval_seconds(&self) -> i32
pub fn dtc_request_interval_seconds(&self) -> i32
The maximum number message requests per diagnostic trouble code per second.
sourcepub fn use_extended_ids(&self) -> bool
pub fn use_extended_ids(&self) -> bool
Whether to use extended IDs in the message.
sourcepub fn has_transmission_ecu(&self) -> bool
pub fn has_transmission_ecu(&self) -> bool
Whether the vehicle has a transmission control module (TCM).
source§impl ObdInterface
impl ObdInterface
sourcepub fn builder() -> ObdInterfaceBuilder
pub fn builder() -> ObdInterfaceBuilder
Creates a new builder-style object to manufacture ObdInterface.
Trait Implementations§
source§impl Clone for ObdInterface
impl Clone for ObdInterface
source§fn clone(&self) -> ObdInterface
fn clone(&self) -> ObdInterface
Returns a copy 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 ObdInterface
impl Debug for ObdInterface
source§impl PartialEq<ObdInterface> for ObdInterface
impl PartialEq<ObdInterface> for ObdInterface
source§fn eq(&self, other: &ObdInterface) -> bool
fn eq(&self, other: &ObdInterface) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ObdInterface
Auto Trait Implementations§
impl RefUnwindSafe for ObdInterface
impl Send for ObdInterface
impl Sync for ObdInterface
impl Unpin for ObdInterface
impl UnwindSafe for ObdInterface
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