1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
    Appellation: payload <events>
    Contributors: FL03 <jo3mccain@icloud.com> (https://gitlab.com/FL03)
    Description:
        ... Summary ...
*/
use crate::Timestamp;
use bson::oid::ObjectId;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Default, Deserialize, Eq, Hash, PartialEq, Serialize)]
pub struct EventModel {
    pub id: ObjectId,
    pub created: Timestamp,
    pub dispersed: Timestamp,
    pub data: Vec<String>,
}