Struct aws_sdk_iot::types::PutAssetPropertyValueEntry
source · #[non_exhaustive]pub struct PutAssetPropertyValueEntry {
pub entry_id: Option<String>,
pub asset_id: Option<String>,
pub property_id: Option<String>,
pub property_alias: Option<String>,
pub property_values: Vec<AssetPropertyValue>,
}
Expand description
An asset property value entry containing the following information.
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.entry_id: Option<String>
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
asset_id: Option<String>
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_id: Option<String>
The ID of the asset's property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_alias: Option<String>
The name of the property alias associated with your asset property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
property_values: Vec<AssetPropertyValue>
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
Implementations§
source§impl PutAssetPropertyValueEntry
impl PutAssetPropertyValueEntry
sourcepub fn entry_id(&self) -> Option<&str>
pub fn entry_id(&self) -> Option<&str>
Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID.
sourcepub fn asset_id(&self) -> Option<&str>
pub fn asset_id(&self) -> Option<&str>
The ID of the IoT SiteWise asset. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_id(&self) -> Option<&str>
pub fn property_id(&self) -> Option<&str>
The ID of the asset's property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_alias(&self) -> Option<&str>
pub fn property_alias(&self) -> Option<&str>
The name of the property alias associated with your asset property. You must specify either a propertyAlias
or both an aliasId
and a propertyId
. Accepts substitution templates.
sourcepub fn property_values(&self) -> &[AssetPropertyValue]
pub fn property_values(&self) -> &[AssetPropertyValue]
A list of property values to insert that each contain timestamp, quality, and value (TQV) information.
source§impl PutAssetPropertyValueEntry
impl PutAssetPropertyValueEntry
sourcepub fn builder() -> PutAssetPropertyValueEntryBuilder
pub fn builder() -> PutAssetPropertyValueEntryBuilder
Creates a new builder-style object to manufacture PutAssetPropertyValueEntry
.
Trait Implementations§
source§impl Clone for PutAssetPropertyValueEntry
impl Clone for PutAssetPropertyValueEntry
source§fn clone(&self) -> PutAssetPropertyValueEntry
fn clone(&self) -> PutAssetPropertyValueEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutAssetPropertyValueEntry
impl Debug for PutAssetPropertyValueEntry
impl StructuralPartialEq for PutAssetPropertyValueEntry
Auto Trait Implementations§
impl Freeze for PutAssetPropertyValueEntry
impl RefUnwindSafe for PutAssetPropertyValueEntry
impl Send for PutAssetPropertyValueEntry
impl Sync for PutAssetPropertyValueEntry
impl Unpin for PutAssetPropertyValueEntry
impl UnwindSafe for PutAssetPropertyValueEntry
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