diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-28 21:31:49 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-04-28 21:31:49 +0200 |
commit | 7b142554d808a494df4ba9e616c58861370ccd93 (patch) | |
tree | 91f63584dc5405b57926a8daeaee3c9c49b3234c /planetwars-server/src/db/bots.rs | |
parent | e7da88c6a5135e78acea3a29040cfbf1e7e0b71f (diff) | |
download | planetwars.dev-7b142554d808a494df4ba9e616c58861370ccd93.tar.xz planetwars.dev-7b142554d808a494df4ba9e616c58861370ccd93.zip |
move match running logic to separate module
Diffstat (limited to 'planetwars-server/src/db/bots.rs')
-rw-r--r-- | planetwars-server/src/db/bots.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/db/bots.rs b/planetwars-server/src/db/bots.rs index d99a459..108c692 100644 --- a/planetwars-server/src/db/bots.rs +++ b/planetwars-server/src/db/bots.rs @@ -11,7 +11,7 @@ pub struct NewBot<'a> { pub name: &'a str, } -#[derive(Queryable, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Queryable, Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct Bot { pub id: i32, pub owner_id: Option<i32>, |