Struct aws_sdk_iotfleetwise::types::ObdInterface
source · #[non_exhaustive]pub struct ObdInterface {
pub name: String,
pub request_message_id: i32,
pub obd_standard: Option<String>,
pub pid_request_interval_seconds: i32,
pub dtc_request_interval_seconds: i32,
pub use_extended_ids: bool,
pub has_transmission_ecu: bool,
}
Expand description
A network interface that specifies the On-board diagnostic (OBD) II network protocol.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the interface.
request_message_id: i32
The ID of the message requesting vehicle data.
obd_standard: Option<String>
The standard OBD II PID.
pid_request_interval_seconds: i32
The maximum number message requests per second.
dtc_request_interval_seconds: i32
The maximum number message requests per diagnostic trouble code per second.
use_extended_ids: bool
Whether to use extended IDs in the message.
has_transmission_ecu: bool
Whether the vehicle has a transmission control module (TCM).
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ObdInterface
impl Debug for ObdInterface
source§impl PartialEq for ObdInterface
impl PartialEq for ObdInterface
source§fn eq(&self, other: &ObdInterface) -> bool
fn eq(&self, other: &ObdInterface) -> bool
self
and other
values to be equal, and is used
by ==
.