Struct aws_sdk_iotfleetwise::types::SignalDecoder
source · #[non_exhaustive]pub struct SignalDecoder {
pub fully_qualified_name: Option<String>,
pub type: Option<SignalDecoderType>,
pub interface_id: Option<String>,
pub can_signal: Option<CanSignal>,
pub obd_signal: Option<ObdSignal>,
}
Expand description
Information about a signal decoder.
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.fully_qualified_name: Option<String>
The fully qualified name of a signal decoder as defined in a vehicle model.
type: Option<SignalDecoderType>
The network protocol for the vehicle. For example, CAN_SIGNAL
specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
interface_id: Option<String>
The ID of a network interface that specifies what network protocol a vehicle follows.
can_signal: Option<CanSignal>
Information about signal decoder using the Controller Area Network (CAN) protocol.
obd_signal: Option<ObdSignal>
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
Implementations§
source§impl SignalDecoder
impl SignalDecoder
sourcepub fn fully_qualified_name(&self) -> Option<&str>
pub fn fully_qualified_name(&self) -> Option<&str>
The fully qualified name of a signal decoder as defined in a vehicle model.
sourcepub fn type(&self) -> Option<&SignalDecoderType>
pub fn type(&self) -> Option<&SignalDecoderType>
The network protocol for the vehicle. For example, CAN_SIGNAL
specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.
sourcepub fn interface_id(&self) -> Option<&str>
pub fn interface_id(&self) -> Option<&str>
The ID of a network interface that specifies what network protocol a vehicle follows.
sourcepub fn can_signal(&self) -> Option<&CanSignal>
pub fn can_signal(&self) -> Option<&CanSignal>
Information about signal decoder using the Controller Area Network (CAN) protocol.
sourcepub fn obd_signal(&self) -> Option<&ObdSignal>
pub fn obd_signal(&self) -> Option<&ObdSignal>
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
source§impl SignalDecoder
impl SignalDecoder
sourcepub fn builder() -> SignalDecoderBuilder
pub fn builder() -> SignalDecoderBuilder
Creates a new builder-style object to manufacture SignalDecoder
.
Trait Implementations§
source§impl Clone for SignalDecoder
impl Clone for SignalDecoder
source§fn clone(&self) -> SignalDecoder
fn clone(&self) -> SignalDecoder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignalDecoder
impl Debug for SignalDecoder
source§impl PartialEq<SignalDecoder> for SignalDecoder
impl PartialEq<SignalDecoder> for SignalDecoder
source§fn eq(&self, other: &SignalDecoder) -> bool
fn eq(&self, other: &SignalDecoder) -> bool
self
and other
values to be equal, and is used
by ==
.