Type Definition hcl::Object

source ·
pub type Object<K, V> = VecMap<K, V>;
Expand description

The object type used in the expression sub-language.

Trait Implementations§

source§

impl<K, V> Evaluate for Object<K, V>where K: Evaluate, K::Output: Hash + Eq, V: Evaluate,

§

type Output = IndexMap<<K as Evaluate>::Output, <V as Evaluate>::Output, RandomState>

The type that is returned by evaluate on success.
source§

fn evaluate(&self, ctx: &Context<'_>) -> EvalResult<Self::Output>

Recursively evaluates all HCL templates and expressions in the implementing type using the variables and functions declared in the Context. Read more