pub(crate) fn mk_dyn_prop_state_change<'a, T: JsonSerde<'a>>(
at_path: &[&str],
payload: &T,
) -> Event
Expand description
Prepare “state-change” event for the dynamic properties
component of the sketch
, given
at_path
- a path suffix used at the properties level (after “dynamic”), and potential payload.
Payload can be any struct that implements JsonSerde
.