#[non_exhaustive]pub struct DeviceShadowEnrichActivity {
pub name: Option<String>,
pub attribute: Option<String>,
pub thing_name: Option<String>,
pub role_arn: Option<String>,
pub next: Option<String>,
}Expand description
An activity that adds information from the IoT Device Shadow service to a message.
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.name: Option<String>The name of the deviceShadowEnrich activity.
attribute: Option<String>The name of the attribute that is added to the message.
thing_name: Option<String>The name of the IoT device whose shadow information is added to the message.
role_arn: Option<String>The ARN of the role that allows access to the device's shadow.
next: Option<String>The next activity in the pipeline.
Implementations§
source§impl DeviceShadowEnrichActivity
impl DeviceShadowEnrichActivity
sourcepub fn attribute(&self) -> Option<&str>
pub fn attribute(&self) -> Option<&str>
The name of the attribute that is added to the message.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the IoT device whose shadow information is added to the message.
source§impl DeviceShadowEnrichActivity
impl DeviceShadowEnrichActivity
sourcepub fn builder() -> DeviceShadowEnrichActivityBuilder
pub fn builder() -> DeviceShadowEnrichActivityBuilder
Creates a new builder-style object to manufacture DeviceShadowEnrichActivity.
Trait Implementations§
source§impl Clone for DeviceShadowEnrichActivity
impl Clone for DeviceShadowEnrichActivity
source§fn clone(&self) -> DeviceShadowEnrichActivity
fn clone(&self) -> DeviceShadowEnrichActivity
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 DeviceShadowEnrichActivity
impl Debug for DeviceShadowEnrichActivity
source§impl PartialEq<DeviceShadowEnrichActivity> for DeviceShadowEnrichActivity
impl PartialEq<DeviceShadowEnrichActivity> for DeviceShadowEnrichActivity
source§fn eq(&self, other: &DeviceShadowEnrichActivity) -> bool
fn eq(&self, other: &DeviceShadowEnrichActivity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeviceShadowEnrichActivity
Auto Trait Implementations§
impl RefUnwindSafe for DeviceShadowEnrichActivity
impl Send for DeviceShadowEnrichActivity
impl Sync for DeviceShadowEnrichActivity
impl Unpin for DeviceShadowEnrichActivity
impl UnwindSafe for DeviceShadowEnrichActivity
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