Struct aws_sdk_iotfleetwise::types::builders::CanSignalBuilder
source · #[non_exhaustive]pub struct CanSignalBuilder { /* private fields */ }Expand description
A builder for CanSignal.
Implementations§
source§impl CanSignalBuilder
impl CanSignalBuilder
sourcepub fn message_id(self, input: i32) -> Self
pub fn message_id(self, input: i32) -> Self
The ID of the message.
sourcepub fn set_message_id(self, input: Option<i32>) -> Self
pub fn set_message_id(self, input: Option<i32>) -> Self
The ID of the message.
sourcepub fn is_big_endian(self, input: bool) -> Self
pub fn is_big_endian(self, input: bool) -> Self
Whether the byte ordering of a CAN message is big-endian.
sourcepub fn set_is_big_endian(self, input: Option<bool>) -> Self
pub fn set_is_big_endian(self, input: Option<bool>) -> Self
Whether the byte ordering of a CAN message is big-endian.
sourcepub fn is_signed(self, input: bool) -> Self
pub fn is_signed(self, input: bool) -> Self
Whether the message data is specified as a signed value.
sourcepub fn set_is_signed(self, input: Option<bool>) -> Self
pub fn set_is_signed(self, input: Option<bool>) -> Self
Whether the message data is specified as a signed value.
sourcepub fn set_start_bit(self, input: Option<i32>) -> Self
pub fn set_start_bit(self, input: Option<i32>) -> Self
Indicates the beginning of the CAN 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 CAN message.
sourcepub fn set_factor(self, input: Option<f64>) -> Self
pub fn set_factor(self, input: Option<f64>) -> Self
A multiplier used to decode the CAN message.
sourcepub fn set_length(self, input: Option<i32>) -> Self
pub fn set_length(self, input: Option<i32>) -> Self
How many bytes of data are in the message.
Trait Implementations§
source§impl Clone for CanSignalBuilder
impl Clone for CanSignalBuilder
source§fn clone(&self) -> CanSignalBuilder
fn clone(&self) -> CanSignalBuilder
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 CanSignalBuilder
impl Debug for CanSignalBuilder
source§impl Default for CanSignalBuilder
impl Default for CanSignalBuilder
source§fn default() -> CanSignalBuilder
fn default() -> CanSignalBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CanSignalBuilder> for CanSignalBuilder
impl PartialEq<CanSignalBuilder> for CanSignalBuilder
source§fn eq(&self, other: &CanSignalBuilder) -> bool
fn eq(&self, other: &CanSignalBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CanSignalBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CanSignalBuilder
impl Send for CanSignalBuilder
impl Sync for CanSignalBuilder
impl Unpin for CanSignalBuilder
impl UnwindSafe for CanSignalBuilder
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