Type Alias wasmcloud_core::wit::WitMap

source ·
pub type WitMap<T> = Vec<(String, T)>;
Expand description

Representation of maps (AKA associative arrays) that are usable from WIT

This representation is required because WIT does not natively have support for a map type, so we must use a list of tuples

Aliased Type§

struct WitMap<T> { /* private fields */ }