File size: 587 Bytes
707a97b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize)]
pub struct Guest {
    pub name: String,
    pub slug: String,
    pub tempat: Option<String>,
}

#[derive(Deserialize, Serialize)]
pub struct RsvpRequest {
    pub display: String,
    pub attendance: String,
    pub message: String,
    pub pax: i32,
    pub slug: String,
}

#[derive(Deserialize, Serialize)]
pub struct PublicMessage {
    pub display: Option<String>,
    pub attendance: Option<String>,
    pub message: Option<String>,
    pub updated_at: Option<DateTime<Utc>>,
}