Skip to main content

Module template

Module template 

Source
Expand description

§Template

A config field whose authored JSON is a JSONLogic expression, for custom handlers. This is the same shape the three built-in integration configs use for their *_logic fields (path_logic, body_logic, key_logic, value_logic) — Template makes that pattern available to any crate::AsyncFunctionHandler without hand-rolling the raw/compiled pair.

Structs§

Template
A config field whose authored JSON is a JSONLogic expression.
TemplateCompiler
Handed to crate::AsyncFunctionHandler::compile_input to compile a handler’s Template fields at engine construction.