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: StringThe 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
impl StructuralPartialEq for AddAttributesActivity
Auto Trait Implementations§
impl Freeze for AddAttributesActivity
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.