Struct aws_sdk_iotfleetwise::types::builders::ObdInterfaceBuilder
source · #[non_exhaustive]pub struct ObdInterfaceBuilder { /* private fields */ }Expand description
A builder for ObdInterface.
Implementations§
source§impl ObdInterfaceBuilder
impl ObdInterfaceBuilder
sourcepub fn request_message_id(self, input: i32) -> Self
pub fn request_message_id(self, input: i32) -> Self
The ID of the message requesting vehicle data.
sourcepub fn set_request_message_id(self, input: Option<i32>) -> Self
pub fn set_request_message_id(self, input: Option<i32>) -> Self
The ID of the message requesting vehicle data.
sourcepub fn obd_standard(self, input: impl Into<String>) -> Self
pub fn obd_standard(self, input: impl Into<String>) -> Self
The standard OBD II PID.
sourcepub fn set_obd_standard(self, input: Option<String>) -> Self
pub fn set_obd_standard(self, input: Option<String>) -> Self
The standard OBD II PID.
sourcepub fn pid_request_interval_seconds(self, input: i32) -> Self
pub fn pid_request_interval_seconds(self, input: i32) -> Self
The maximum number message requests per second.
sourcepub fn set_pid_request_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_pid_request_interval_seconds(self, input: Option<i32>) -> Self
The maximum number message requests per second.
sourcepub fn dtc_request_interval_seconds(self, input: i32) -> Self
pub fn dtc_request_interval_seconds(self, input: i32) -> Self
The maximum number message requests per diagnostic trouble code per second.
sourcepub fn set_dtc_request_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_dtc_request_interval_seconds(self, input: Option<i32>) -> Self
The maximum number message requests per diagnostic trouble code per second.
sourcepub fn use_extended_ids(self, input: bool) -> Self
pub fn use_extended_ids(self, input: bool) -> Self
Whether to use extended IDs in the message.
sourcepub fn set_use_extended_ids(self, input: Option<bool>) -> Self
pub fn set_use_extended_ids(self, input: Option<bool>) -> Self
Whether to use extended IDs in the message.
sourcepub fn has_transmission_ecu(self, input: bool) -> Self
pub fn has_transmission_ecu(self, input: bool) -> Self
Whether the vehicle has a transmission control module (TCM).
sourcepub fn set_has_transmission_ecu(self, input: Option<bool>) -> Self
pub fn set_has_transmission_ecu(self, input: Option<bool>) -> Self
Whether the vehicle has a transmission control module (TCM).
sourcepub fn build(self) -> ObdInterface
pub fn build(self) -> ObdInterface
Consumes the builder and constructs a ObdInterface.
Trait Implementations§
source§impl Clone for ObdInterfaceBuilder
impl Clone for ObdInterfaceBuilder
source§fn clone(&self) -> ObdInterfaceBuilder
fn clone(&self) -> ObdInterfaceBuilder
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 ObdInterfaceBuilder
impl Debug for ObdInterfaceBuilder
source§impl Default for ObdInterfaceBuilder
impl Default for ObdInterfaceBuilder
source§fn default() -> ObdInterfaceBuilder
fn default() -> ObdInterfaceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ObdInterfaceBuilder> for ObdInterfaceBuilder
impl PartialEq<ObdInterfaceBuilder> for ObdInterfaceBuilder
source§fn eq(&self, other: &ObdInterfaceBuilder) -> bool
fn eq(&self, other: &ObdInterfaceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ObdInterfaceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ObdInterfaceBuilder
impl Send for ObdInterfaceBuilder
impl Sync for ObdInterfaceBuilder
impl Unpin for ObdInterfaceBuilder
impl UnwindSafe for ObdInterfaceBuilder
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