Struct aws_sdk_iotfleetwise::model::NetworkInterface
source · #[non_exhaustive]pub struct NetworkInterface { /* private fields */ }
Expand description
Represents a node and its specifications in an in-vehicle communication network. All signal decoders must be associated with a network node.
To return this information about all the network interfaces specified in a decoder manifest, use the API operation.
Implementations§
source§impl NetworkInterface
impl NetworkInterface
sourcepub fn interface_id(&self) -> Option<&str>
pub fn interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn type(&self) -> Option<&NetworkInterfaceType>
pub fn type(&self) -> Option<&NetworkInterfaceType>
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 can_interface(&self) -> Option<&CanInterface>
pub fn can_interface(&self) -> Option<&CanInterface>
Information about a network interface specified by the Controller Area Network (CAN) protocol.
sourcepub fn obd_interface(&self) -> Option<&ObdInterface>
pub fn obd_interface(&self) -> Option<&ObdInterface>
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
source§impl NetworkInterface
impl NetworkInterface
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkInterface
.
Trait Implementations§
source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkInterface
impl Debug for NetworkInterface
source§impl PartialEq<NetworkInterface> for NetworkInterface
impl PartialEq<NetworkInterface> for NetworkInterface
source§fn eq(&self, other: &NetworkInterface) -> bool
fn eq(&self, other: &NetworkInterface) -> bool
self
and other
values to be equal, and is used
by ==
.