#[non_exhaustive]pub struct UpdateVehicleInput {
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>,
}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 a vehicle model (model manifest) associated with the vehicle.
decoder_manifest_arn: Option<String>The ARN of the decoder manifest associated with this vehicle.
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 UpdateVehicleInput
impl UpdateVehicleInput
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 a vehicle model (model manifest) associated with the vehicle.
sourcepub fn decoder_manifest_arn(&self) -> Option<&str>
pub fn decoder_manifest_arn(&self) -> Option<&str>
The ARN of the decoder manifest associated with this vehicle.
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 UpdateVehicleInput
impl UpdateVehicleInput
sourcepub fn builder() -> UpdateVehicleInputBuilder
pub fn builder() -> UpdateVehicleInputBuilder
Creates a new builder-style object to manufacture UpdateVehicleInput.
Trait Implementations§
source§impl Clone for UpdateVehicleInput
impl Clone for UpdateVehicleInput
source§fn clone(&self) -> UpdateVehicleInput
fn clone(&self) -> UpdateVehicleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateVehicleInput
impl Debug for UpdateVehicleInput
source§impl PartialEq for UpdateVehicleInput
impl PartialEq for UpdateVehicleInput
source§fn eq(&self, other: &UpdateVehicleInput) -> bool
fn eq(&self, other: &UpdateVehicleInput) -> bool
self and other values to be equal, and is used
by ==.