Struct aws_sdk_iotfleetwise::types::builders::ObdSignalBuilder
source · #[non_exhaustive]pub struct ObdSignalBuilder { /* private fields */ }Expand description
A builder for ObdSignal.
Implementations§
source§impl ObdSignalBuilder
impl ObdSignalBuilder
sourcepub fn pid_response_length(self, input: i32) -> Self
pub fn pid_response_length(self, input: i32) -> Self
The length of the requested data.
sourcepub fn set_pid_response_length(self, input: Option<i32>) -> Self
pub fn set_pid_response_length(self, input: Option<i32>) -> Self
The length of the requested data.
sourcepub fn service_mode(self, input: i32) -> Self
pub fn service_mode(self, input: i32) -> Self
The mode of operation (diagnostic service) in a message.
sourcepub fn set_service_mode(self, input: Option<i32>) -> Self
pub fn set_service_mode(self, input: Option<i32>) -> Self
The mode of operation (diagnostic service) in a message.
sourcepub fn pid(self, input: i32) -> Self
pub fn pid(self, input: i32) -> Self
The diagnostic code used to request data from a vehicle for this signal.
sourcepub fn set_pid(self, input: Option<i32>) -> Self
pub fn set_pid(self, input: Option<i32>) -> Self
The diagnostic code used to request data from a vehicle for this signal.
sourcepub fn set_scaling(self, input: Option<f64>) -> Self
pub fn set_scaling(self, input: Option<f64>) -> Self
A multiplier used to decode the message.
sourcepub fn set_offset(self, input: Option<f64>) -> Self
pub fn set_offset(self, input: Option<f64>) -> Self
Indicates where data appears in the message.
sourcepub fn start_byte(self, input: i32) -> Self
pub fn start_byte(self, input: i32) -> Self
Indicates the beginning of the message.
sourcepub fn set_start_byte(self, input: Option<i32>) -> Self
pub fn set_start_byte(self, input: Option<i32>) -> Self
Indicates the beginning of the message.
sourcepub fn byte_length(self, input: i32) -> Self
pub fn byte_length(self, input: i32) -> Self
The length of a message.
sourcepub fn set_byte_length(self, input: Option<i32>) -> Self
pub fn set_byte_length(self, input: Option<i32>) -> Self
The length of a message.
sourcepub fn bit_right_shift(self, input: i32) -> Self
pub fn bit_right_shift(self, input: i32) -> Self
The number of positions to shift bits in the message.
sourcepub fn set_bit_right_shift(self, input: Option<i32>) -> Self
pub fn set_bit_right_shift(self, input: Option<i32>) -> Self
The number of positions to shift bits in the message.
sourcepub fn bit_mask_length(self, input: i32) -> Self
pub fn bit_mask_length(self, input: i32) -> Self
The number of bits to mask in a message.
sourcepub fn set_bit_mask_length(self, input: Option<i32>) -> Self
pub fn set_bit_mask_length(self, input: Option<i32>) -> Self
The number of bits to mask in a message.
Trait Implementations§
source§impl Clone for ObdSignalBuilder
impl Clone for ObdSignalBuilder
source§fn clone(&self) -> ObdSignalBuilder
fn clone(&self) -> ObdSignalBuilder
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 ObdSignalBuilder
impl Debug for ObdSignalBuilder
source§impl Default for ObdSignalBuilder
impl Default for ObdSignalBuilder
source§fn default() -> ObdSignalBuilder
fn default() -> ObdSignalBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ObdSignalBuilder> for ObdSignalBuilder
impl PartialEq<ObdSignalBuilder> for ObdSignalBuilder
source§fn eq(&self, other: &ObdSignalBuilder) -> bool
fn eq(&self, other: &ObdSignalBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ObdSignalBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ObdSignalBuilder
impl Send for ObdSignalBuilder
impl Sync for ObdSignalBuilder
impl Unpin for ObdSignalBuilder
impl UnwindSafe for ObdSignalBuilder
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