Struct aws_sdk_iottwinmaker::types::PropertyResponse
source · #[non_exhaustive]pub struct PropertyResponse {
pub definition: Option<PropertyDefinitionResponse>,
pub value: Option<DataValue>,
pub are_all_property_values_returned: Option<bool>,
}Expand description
An object that contains information about a property response.
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.definition: Option<PropertyDefinitionResponse>An object that specifies information about a property.
value: Option<DataValue>The value of the property.
are_all_property_values_returned: Option<bool>This flag notes whether all values of a list or map type property are returned in the API response. The maximum number of values per property returned is 50.
Implementations§
source§impl PropertyResponse
impl PropertyResponse
sourcepub fn definition(&self) -> Option<&PropertyDefinitionResponse>
pub fn definition(&self) -> Option<&PropertyDefinitionResponse>
An object that specifies information about a property.
sourcepub fn are_all_property_values_returned(&self) -> Option<bool>
pub fn are_all_property_values_returned(&self) -> Option<bool>
This flag notes whether all values of a list or map type property are returned in the API response. The maximum number of values per property returned is 50.
source§impl PropertyResponse
impl PropertyResponse
sourcepub fn builder() -> PropertyResponseBuilder
pub fn builder() -> PropertyResponseBuilder
Creates a new builder-style object to manufacture PropertyResponse.
Trait Implementations§
source§impl Clone for PropertyResponse
impl Clone for PropertyResponse
source§fn clone(&self) -> PropertyResponse
fn clone(&self) -> PropertyResponse
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 PropertyResponse
impl Debug for PropertyResponse
source§impl PartialEq for PropertyResponse
impl PartialEq for PropertyResponse
source§fn eq(&self, other: &PropertyResponse) -> bool
fn eq(&self, other: &PropertyResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PropertyResponse
Auto Trait Implementations§
impl Freeze for PropertyResponse
impl RefUnwindSafe for PropertyResponse
impl Send for PropertyResponse
impl Sync for PropertyResponse
impl Unpin for PropertyResponse
impl UnwindSafe for PropertyResponse
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.