stablizing ApiResponse inside lootalot_db crate

This commit is contained in:
2019-10-16 22:29:38 +02:00
parent 8af7790d17
commit 8cfa21eccf
4 changed files with 170 additions and 189 deletions

View File

@@ -5,7 +5,7 @@ use crate::models::{self, item::Loot};
use crate::schema::claims;
/// A Claim is a request by a single player on an item from group chest.
#[derive(Identifiable, Queryable, Associations, Serialize, Debug)]
#[derive(Identifiable, Queryable, Associations, Serialize, Deserialize, Debug)]
#[belongs_to(Loot)]
pub struct Claim {
/// DB Identifier