pub fn deserialize_program<'a, T: Deserialize<'a>>(
program: &'a Dictionary,
) -> Result<T, Error>
Expand description
Deserialize the provided program
into a value of T
.
Allows runners to define their program interface as a Rust struct and to use all of serde’s helpers for parsing.