diff options
| author | Fuwn <[email protected]> | 2021-02-20 22:57:33 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-02-20 22:57:33 +0000 |
| commit | 0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7 (patch) | |
| tree | c4f1201aeea4fbac52fa033cda8c3f72beb062fa /src/structures.rs | |
| parent | chore: update log (diff) | |
| download | chan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.tar.xz chan-0a8126ac5330fc022b6d1b5fb4b9c2fa38028ef7.zip | |
chore: formatting
Diffstat (limited to 'src/structures.rs')
| -rw-r--r-- | src/structures.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/structures.rs b/src/structures.rs index 8d0efb3..1114bbc 100644 --- a/src/structures.rs +++ b/src/structures.rs @@ -1,16 +1,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 + 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 + pub tag: String, + pub name: String, + pub nsfw: i32, + pub disabled: i32 } |