[−][src]Macro exonum::context_key
Constructs a ContextKey
from a given name.
For additional information refer to
exonum:helpers:fabric:ContextKey
.
Examples
The example below creates a constant using the ContextKey
macro.
#[macro_use] extern crate exonum; use exonum::helpers::fabric::ContextKey; const NAME: ContextKey<String> = context_key!("name");