hclMacro attribute
Source macro_rules! attribute {
($($attr:tt)+) => { ... };
}
Expand description
Construct an hcl::Attribute
from a key and a value expression.
For supported syntax see the body!
macro documentation.
ยงExample
use hcl::Attribute;
assert_eq!(hcl::attribute!(foo = "bar"), Attribute::new("foo", "bar"));