Get an Optional Keyword Argument in Rust's MiniJinja
July 2026
This is how I'm grabbing optional keyword arguments in MiniJinja with a fallback to a default if the arg doesn't exist.
Rust
Output
THIS IS DEFAULT
This is exampleThis is how I'm grabbing optional keyword arguments in MiniJinja with a fallback to a default if the arg doesn't exist.
THIS IS DEFAULT
This is example