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