Skip to main content

payload_keys

Function payload_keys 

Source
pub fn payload_keys(payload: &Value) -> Vec<(String, String)>
Expand description

The context keys a top place’s payload sets, for when clauses: a text, a number or a boolean as payload; an object’s fields that are one of those as payload.<field> (payload.id == 'darkroom'). Nested values set nothing.