pub fn payload( event: WebhookEvent, id: Uuid, actor: Option<&Actor>, objects: Value, ) -> Value
Builds the payload of an event: the envelope plus objects (a JSON object whose keys are added at the top level).
objects