Function cosmwasm_std::attr

source ·
pub fn attr(key: impl Into<String>, value: impl Into<String>) -> Attribute
Expand description

Creates a new Attribute. Attribute::new is an alias for this.