Struct aws_sdk_iotanalytics::types::AddAttributesActivity
source · #[non_exhaustive]pub struct AddAttributesActivity {
pub name: String,
pub attributes: HashMap<String, String>,
pub next: Option<String>,
}
Expand description
An activity that adds other attributes based on existing attributes in the 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: String
The name of the addAttributes activity.
attributes: HashMap<String, String>
A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use RemoveAttributeActivity
.
next: Option<String>
The next activity in the pipeline.
Implementations§
source§impl AddAttributesActivity
impl AddAttributesActivity
sourcepub fn attributes(&self) -> &HashMap<String, String>
pub fn attributes(&self) -> &HashMap<String, String>
A list of 1-50 AttributeNameMapping
objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use RemoveAttributeActivity
.
source§impl AddAttributesActivity
impl AddAttributesActivity
sourcepub fn builder() -> AddAttributesActivityBuilder
pub fn builder() -> AddAttributesActivityBuilder
Creates a new builder-style object to manufacture AddAttributesActivity
.
Trait Implementations§
source§impl Clone for AddAttributesActivity
impl Clone for AddAttributesActivity
source§fn clone(&self) -> AddAttributesActivity
fn clone(&self) -> AddAttributesActivity
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 AddAttributesActivity
impl Debug for AddAttributesActivity
source§impl PartialEq for AddAttributesActivity
impl PartialEq for AddAttributesActivity
source§fn eq(&self, other: &AddAttributesActivity) -> bool
fn eq(&self, other: &AddAttributesActivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddAttributesActivity
Auto Trait Implementations§
impl RefUnwindSafe for AddAttributesActivity
impl Send for AddAttributesActivity
impl Sync for AddAttributesActivity
impl Unpin for AddAttributesActivity
impl UnwindSafe for AddAttributesActivity
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.