1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::collections::HashMap;

use serde::Deserialize;

#[derive(Debug, Clone, Deserialize)]
#[allow(non_snake_case)]
pub struct EventActor {
    pub ID: String,
    pub Attributes: HashMap<String, String>,
}

#[derive(Debug, Clone, Deserialize)]
#[allow(non_snake_case)]
pub struct EventResponse {
    pub Type: String,
    pub Action: String,
    pub Actor: EventActor,
    pub time: u64,
    pub timeNano: u64,
}