Skip to main content

payload

Function payload 

Source
pub fn payload(
    event: WebhookEvent,
    id: Uuid,
    actor: Option<&Actor>,
    objects: Value,
) -> Value
Expand description

Builds the payload of an event: the envelope plus objects (a JSON object whose keys are added at the top level).