[][src]Macro casperlabs_types::runtime_args

macro_rules! runtime_args {
    () => { ... };
    ( $($key:expr => $value:expr,)+ ) => { ... };
    ( $($key:expr => $value:expr),* ) => { ... };
}

Macro that makes it easier to construct named arguments.

Example usage

use casperlabs_types::{RuntimeArgs, runtime_args};
let _named_args = runtime_args! {
  "foo" => 42,
  "bar" => "Hello, world!"
};