Struct pusher::Webhook [] [src]

pub struct Webhook {
    pub time_ms: i64,
    pub events: Vec<HashMap<StringString>>,
}

This is returned upon validating that a webhook is indeed from Pusher, carrying all the data received by that POST request.

Fields

time_ms: i64 events: Vec<HashMap<StringString>>

Trait Implementations

impl Debug for Webhook
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Decodable for Webhook
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Webhook, __D::Error>