blob: 1114bbc32e4bf679d1b612d48ec523889b7494ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/// The format a valid SQLlite thread entry should have.
#[derive(FromForm, Debug, Serialize, Deserialize)]
pub struct Thread {
pub board: String,
pub name: String,
pub comment: String
}
/// The format a valid SQLlite thread entry should have.
#[derive(FromForm, Debug, Serialize, Deserialize, PartialEq)]
pub struct Board {
pub tag: String,
pub name: String,
pub nsfw: i32,
pub disabled: i32
}
|