#[non_exhaustive]pub struct UpdateVehicleRequestItem {
pub vehicle_name: Option<String>,
pub model_manifest_arn: Option<String>,
pub decoder_manifest_arn: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub attribute_update_mode: Option<UpdateMode>,
}
Expand description
Information about the vehicle to update.
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.vehicle_name: Option<String>
The unique ID of the vehicle to update.
model_manifest_arn: Option<String>
The ARN of the vehicle model (model manifest) associated with the vehicle to update.
decoder_manifest_arn: Option<String>
The ARN of the signal decoder manifest associated with the vehicle to update.
attributes: Option<HashMap<String, String>>
Static information about a vehicle in a key-value pair. For example:
"engineType"
: "1.3 L R2"
attribute_update_mode: Option<UpdateMode>
The method the specified attributes will update the existing attributes on the vehicle. UseOverwite
to replace the vehicle attributes with the specified attributes. Or use Merge
to combine all attributes.
This is required if attributes are present in the input.
Implementations§
source§impl UpdateVehicleRequestItem
impl UpdateVehicleRequestItem
sourcepub fn vehicle_name(&self) -> Option<&str>
pub fn vehicle_name(&self) -> Option<&str>
The unique ID of the vehicle to update.
sourcepub fn model_manifest_arn(&self) -> Option<&str>
pub fn model_manifest_arn(&self) -> Option<&str>
The ARN of the vehicle model (model manifest) associated with the vehicle to update.
sourcepub fn decoder_manifest_arn(&self) -> Option<&str>
pub fn decoder_manifest_arn(&self) -> Option<&str>
The ARN of the signal decoder manifest associated with the vehicle to update.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
Static information about a vehicle in a key-value pair. For example:
"engineType"
: "1.3 L R2"
sourcepub fn attribute_update_mode(&self) -> Option<&UpdateMode>
pub fn attribute_update_mode(&self) -> Option<&UpdateMode>
The method the specified attributes will update the existing attributes on the vehicle. UseOverwite
to replace the vehicle attributes with the specified attributes. Or use Merge
to combine all attributes.
This is required if attributes are present in the input.
source§impl UpdateVehicleRequestItem
impl UpdateVehicleRequestItem
sourcepub fn builder() -> UpdateVehicleRequestItemBuilder
pub fn builder() -> UpdateVehicleRequestItemBuilder
Creates a new builder-style object to manufacture UpdateVehicleRequestItem
.
Trait Implementations§
source§impl Clone for UpdateVehicleRequestItem
impl Clone for UpdateVehicleRequestItem
source§fn clone(&self) -> UpdateVehicleRequestItem
fn clone(&self) -> UpdateVehicleRequestItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateVehicleRequestItem
impl Debug for UpdateVehicleRequestItem
source§impl PartialEq<UpdateVehicleRequestItem> for UpdateVehicleRequestItem
impl PartialEq<UpdateVehicleRequestItem> for UpdateVehicleRequestItem
source§fn eq(&self, other: &UpdateVehicleRequestItem) -> bool
fn eq(&self, other: &UpdateVehicleRequestItem) -> bool
self
and other
values to be equal, and is used
by ==
.