pub struct MathActivity {
pub attribute: String,
pub math: String,
pub name: String,
pub next: Option<String>,
}Expand description
An activity that computes an arithmetic expression using the message's attributes.
Fields§
§attribute: StringThe name of the attribute that contains the result of the math operation.
math: StringAn expression that uses one or more existing attributes and must return an integer value.
name: StringThe name of the 'math' activity.
next: Option<String>The next activity in the pipeline.
Trait Implementations§
Source§impl Clone for MathActivity
impl Clone for MathActivity
Source§fn clone(&self) -> MathActivity
fn clone(&self) -> MathActivity
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 MathActivity
impl Debug for MathActivity
Source§impl Default for MathActivity
impl Default for MathActivity
Source§fn default() -> MathActivity
fn default() -> MathActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MathActivity
impl<'de> Deserialize<'de> for MathActivity
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 MathActivity
impl PartialEq for MathActivity
Source§impl Serialize for MathActivity
impl Serialize for MathActivity
impl StructuralPartialEq for MathActivity
Auto Trait Implementations§
impl Freeze for MathActivity
impl RefUnwindSafe for MathActivity
impl Send for MathActivity
impl Sync for MathActivity
impl Unpin for MathActivity
impl UnwindSafe for MathActivity
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