summaryrefslogtreecommitdiff
path: root/src/db/game.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/game.rs')
-rw-r--r--src/db/game.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db/game.rs b/src/db/game.rs
index 0620314..e10006c 100644
--- a/src/db/game.rs
+++ b/src/db/game.rs
@@ -7,4 +7,8 @@ pub struct Game {
pub pid: i64,
}
-impl ProductMarker for Game {}
+impl ProductMarker for Game {
+ fn product_id(&self) -> i64 {
+ self.pid
+ }
+}