From 3e6a72428824c5a50a873a4284b86d0a9e47a778 Mon Sep 17 00:00:00 2001 From: fx Date: Mon, 9 Oct 2023 17:26:59 +0200 Subject: db int for api --- src/db.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/db.rs') diff --git a/src/db.rs b/src/db.rs index 79eca91..87943ca 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1,3 +1,6 @@ +use serde::Serialize; + +#[derive(Serialize)] pub struct Device { pub id: String, pub mac: String, -- cgit v1.2.3