Struct aws_sdk_iotfleetwise::types::SignalDecoder
source · #[non_exhaustive]pub struct SignalDecoder {
pub fully_qualified_name: String,
pub type: SignalDecoderType,
pub interface_id: String,
pub can_signal: Option<CanSignal>,
pub obd_signal: Option<ObdSignal>,
pub message_signal: Option<MessageSignal>,
}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: StringThe fully qualified name of a signal decoder as defined in a vehicle model.
type: SignalDecoderTypeThe 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: StringThe 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.
message_signal: Option<MessageSignal>The decoding information for a specific message which supports higher order data types.
Implementations§
source§impl SignalDecoder
impl SignalDecoder
sourcepub fn fully_qualified_name(&self) -> &str
pub fn fully_qualified_name(&self) -> &str
The fully qualified name of a signal decoder as defined in a vehicle model.
sourcepub fn type(&self) -> &SignalDecoderType
pub fn type(&self) -> &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) -> &str
pub fn interface_id(&self) -> &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.
sourcepub fn message_signal(&self) -> Option<&MessageSignal>
pub fn message_signal(&self) -> Option<&MessageSignal>
The decoding information for a specific message which supports higher order data types.
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 for SignalDecoder
impl PartialEq 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 ==.impl StructuralPartialEq for SignalDecoder
Auto Trait Implementations§
impl Freeze for SignalDecoder
impl RefUnwindSafe for SignalDecoder
impl Send for SignalDecoder
impl Sync for SignalDecoder
impl Unpin for SignalDecoder
impl UnwindSafe for SignalDecoder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more