blob: 8d0efb36424a1cde1419aec16874142611b310c1 (
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
}
|