#[non_exhaustive]pub struct DeviceRegistryEnrichActivity { /* private fields */ }
Expand description
An activity that adds data from the IoT device registry to your message.
Implementations§
source§impl DeviceRegistryEnrichActivity
impl DeviceRegistryEnrichActivity
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 registry information is added to the message.
source§impl DeviceRegistryEnrichActivity
impl DeviceRegistryEnrichActivity
sourcepub fn builder() -> DeviceRegistryEnrichActivityBuilder
pub fn builder() -> DeviceRegistryEnrichActivityBuilder
Creates a new builder-style object to manufacture DeviceRegistryEnrichActivity
.
Trait Implementations§
source§impl Clone for DeviceRegistryEnrichActivity
impl Clone for DeviceRegistryEnrichActivity
source§fn clone(&self) -> DeviceRegistryEnrichActivity
fn clone(&self) -> DeviceRegistryEnrichActivity
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 DeviceRegistryEnrichActivity
impl Debug for DeviceRegistryEnrichActivity
source§impl PartialEq<DeviceRegistryEnrichActivity> for DeviceRegistryEnrichActivity
impl PartialEq<DeviceRegistryEnrichActivity> for DeviceRegistryEnrichActivity
source§fn eq(&self, other: &DeviceRegistryEnrichActivity) -> bool
fn eq(&self, other: &DeviceRegistryEnrichActivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceRegistryEnrichActivity
Auto Trait Implementations§
impl RefUnwindSafe for DeviceRegistryEnrichActivity
impl Send for DeviceRegistryEnrichActivity
impl Sync for DeviceRegistryEnrichActivity
impl Unpin for DeviceRegistryEnrichActivity
impl UnwindSafe for DeviceRegistryEnrichActivity
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