Type Alias cosmwasm_std::Record

source ·
pub type Record<V = Vec<u8>> = (Vec<u8>, V);
Expand description

A record of a key-value storage that is created through an iterator API. The first element (key) is always raw binary data. The second element (value) is binary by default but can be changed to a custom type. This allows contracts to reuse the type when deserializing database records.