pub type Object<K, V> = VecMap<K, V>;
Expand description
The object type used in the expression sub-language.
Aliased Type§
struct Object<K, V> { /* private fields */ }
Trait Implementations§
Source§impl<K, V> Evaluate for Object<K, V>
impl<K, V> Evaluate for Object<K, V>
Source§type Output = IndexMap<<K as Evaluate>::Output, <V as Evaluate>::Output>
type Output = IndexMap<<K as Evaluate>::Output, <V as Evaluate>::Output>
The type that is returned by
evaluate
on success.Source§fn evaluate(&self, ctx: &Context<'_>) -> EvalResult<Self::Output>
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 moreSource§fn evaluate_in_place(&mut self, ctx: &Context<'_>) -> EvalResult<(), Errors>
fn evaluate_in_place(&mut self, ctx: &Context<'_>) -> EvalResult<(), Errors>
Recursively tries to evaluate all nested expressions in place. Read more