attributes

Macro attributes 

Source
macro_rules! attributes {
    ($($key:expr => $value:expr),* $(,)?) => { ... };
}
Expand description

Create an Attributes instance.

Attributes are denoted by a comma-separated list of key => value mappings.

ยงExamples

use process_mining::{attributes, core::chrono::Utc};

let attrs = attributes!(
    "concept:name" => "Approve",
    "time:timestamp" => Utc::now(),
    "cost" => 2500.00
);