Struct aws_sdk_iottwinmaker::types::PropertyValueEntry
source · #[non_exhaustive]pub struct PropertyValueEntry {
pub entity_property_reference: Option<EntityPropertyReference>,
pub property_values: Option<Vec<PropertyValue>>,
}Expand description
An object that specifies information about time series property values. This object is used and consumed by the BatchPutPropertyValues action.
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.entity_property_reference: Option<EntityPropertyReference>An object that contains information about the entity that has the property.
property_values: Option<Vec<PropertyValue>>A list of objects that specify time series property values.
Implementations§
source§impl PropertyValueEntry
impl PropertyValueEntry
sourcepub fn entity_property_reference(&self) -> Option<&EntityPropertyReference>
pub fn entity_property_reference(&self) -> Option<&EntityPropertyReference>
An object that contains information about the entity that has the property.
sourcepub fn property_values(&self) -> &[PropertyValue]
pub fn property_values(&self) -> &[PropertyValue]
A list of objects that specify time series property values.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .property_values.is_none().
source§impl PropertyValueEntry
impl PropertyValueEntry
sourcepub fn builder() -> PropertyValueEntryBuilder
pub fn builder() -> PropertyValueEntryBuilder
Creates a new builder-style object to manufacture PropertyValueEntry.
Trait Implementations§
source§impl Clone for PropertyValueEntry
impl Clone for PropertyValueEntry
source§fn clone(&self) -> PropertyValueEntry
fn clone(&self) -> PropertyValueEntry
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 PropertyValueEntry
impl Debug for PropertyValueEntry
source§impl PartialEq for PropertyValueEntry
impl PartialEq for PropertyValueEntry
source§fn eq(&self, other: &PropertyValueEntry) -> bool
fn eq(&self, other: &PropertyValueEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PropertyValueEntry
Auto Trait Implementations§
impl Freeze for PropertyValueEntry
impl RefUnwindSafe for PropertyValueEntry
impl Send for PropertyValueEntry
impl Sync for PropertyValueEntry
impl Unpin for PropertyValueEntry
impl UnwindSafe for PropertyValueEntry
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.