Struct aws_sdk_iotfleetwise::types::VehicleMiddleware
source · #[non_exhaustive]pub struct VehicleMiddleware {
pub name: String,
pub protocol_name: VehicleMiddlewareProtocol,
}
Expand description
The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include ROS2
and SOME/IP
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the vehicle middleware.
protocol_name: VehicleMiddlewareProtocol
The protocol name of the vehicle middleware.
Implementations§
source§impl VehicleMiddleware
impl VehicleMiddleware
sourcepub fn protocol_name(&self) -> &VehicleMiddlewareProtocol
pub fn protocol_name(&self) -> &VehicleMiddlewareProtocol
The protocol name of the vehicle middleware.
source§impl VehicleMiddleware
impl VehicleMiddleware
sourcepub fn builder() -> VehicleMiddlewareBuilder
pub fn builder() -> VehicleMiddlewareBuilder
Creates a new builder-style object to manufacture VehicleMiddleware
.
Trait Implementations§
source§impl Clone for VehicleMiddleware
impl Clone for VehicleMiddleware
source§fn clone(&self) -> VehicleMiddleware
fn clone(&self) -> VehicleMiddleware
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 VehicleMiddleware
impl Debug for VehicleMiddleware
source§impl PartialEq for VehicleMiddleware
impl PartialEq for VehicleMiddleware
source§fn eq(&self, other: &VehicleMiddleware) -> bool
fn eq(&self, other: &VehicleMiddleware) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VehicleMiddleware
Auto Trait Implementations§
impl RefUnwindSafe for VehicleMiddleware
impl Send for VehicleMiddleware
impl Sync for VehicleMiddleware
impl Unpin for VehicleMiddleware
impl UnwindSafe for VehicleMiddleware
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
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>
Creates a shared type from an unshared type.