pub struct AddAttributesActivity {
pub attributes: HashMap<String, String>,
pub name: String,
pub next: Option<String>,
}Expand description
An activity that adds other attributes based on existing attributes in the message.
Fields§
§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".
name: StringThe name of the 'addAttributes' activity.
next: Option<String>The next activity in the pipeline.
Trait Implementations§
Source§impl Clone for AddAttributesActivity
impl Clone for AddAttributesActivity
Source§fn clone(&self) -> AddAttributesActivity
fn clone(&self) -> AddAttributesActivity
Returns a duplicate 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 Default for AddAttributesActivity
impl Default for AddAttributesActivity
Source§fn default() -> AddAttributesActivity
fn default() -> AddAttributesActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddAttributesActivity
impl<'de> Deserialize<'de> for AddAttributesActivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddAttributesActivity
impl PartialEq for AddAttributesActivity
Source§impl Serialize for AddAttributesActivity
impl Serialize 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