#[non_exhaustive]pub struct CreateVehicleInput {
pub vehicle_name: Option<String>,
pub model_manifest_arn: Option<String>,
pub decoder_manifest_arn: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub association_behavior: Option<VehicleAssociationBehavior>,
pub tags: Option<Vec<Tag>>,
}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 create.
model_manifest_arn: Option<String>The Amazon Resource Name ARN of a vehicle model.
decoder_manifest_arn: Option<String>The ARN of a decoder manifest.
attributes: Option<HashMap<String, String>>Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"
A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.
association_behavior: Option<VehicleAssociationBehavior>An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
Metadata that can be used to manage the vehicle.
Implementations§
source§impl CreateVehicleInput
impl CreateVehicleInput
sourcepub fn vehicle_name(&self) -> Option<&str>
pub fn vehicle_name(&self) -> Option<&str>
The unique ID of the vehicle to create.
sourcepub fn model_manifest_arn(&self) -> Option<&str>
pub fn model_manifest_arn(&self) -> Option<&str>
The Amazon Resource Name ARN of a vehicle model.
sourcepub fn decoder_manifest_arn(&self) -> Option<&str>
pub fn decoder_manifest_arn(&self) -> Option<&str>
The ARN of a decoder manifest.
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"
A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.
sourcepub fn association_behavior(&self) -> Option<&VehicleAssociationBehavior>
pub fn association_behavior(&self) -> Option<&VehicleAssociationBehavior>
An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.
Default:
Metadata that can be used to manage the vehicle.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateVehicleInput
impl CreateVehicleInput
sourcepub fn builder() -> CreateVehicleInputBuilder
pub fn builder() -> CreateVehicleInputBuilder
Creates a new builder-style object to manufacture CreateVehicleInput.
Trait Implementations§
source§impl Clone for CreateVehicleInput
impl Clone for CreateVehicleInput
source§fn clone(&self) -> CreateVehicleInput
fn clone(&self) -> CreateVehicleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateVehicleInput
impl Debug for CreateVehicleInput
source§impl PartialEq for CreateVehicleInput
impl PartialEq for CreateVehicleInput
source§fn eq(&self, other: &CreateVehicleInput) -> bool
fn eq(&self, other: &CreateVehicleInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateVehicleInput
Auto Trait Implementations§
impl Freeze for CreateVehicleInput
impl RefUnwindSafe for CreateVehicleInput
impl Send for CreateVehicleInput
impl Sync for CreateVehicleInput
impl Unpin for CreateVehicleInput
impl UnwindSafe for CreateVehicleInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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