From eea7b4b2d297eeda9c9235dd01259941d56199e8 Mon Sep 17 00:00:00 2001 From: Joatin Granlund Date: Wed, 25 Dec 2024 16:54:25 +0100 Subject: [PATCH] add chart --- shared/src/config/ocpp_config.rs | 1 - shared/src/sqlx_data_store.rs | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/shared/src/config/ocpp_config.rs b/shared/src/config/ocpp_config.rs index 4bb1bcf..4529789 100644 --- a/shared/src/config/ocpp_config.rs +++ b/shared/src/config/ocpp_config.rs @@ -1,4 +1,3 @@ -use crate::Config; use serde::{Deserialize, Serialize}; use tracing::warn; diff --git a/shared/src/sqlx_data_store.rs b/shared/src/sqlx_data_store.rs index 6b412fd..4a4cc9d 100644 --- a/shared/src/sqlx_data_store.rs +++ b/shared/src/sqlx_data_store.rs @@ -194,9 +194,18 @@ impl DataStore for SqlxDataStore { #[derive(FromRow, Debug, Clone)] struct PasswordRecord { + #[allow(dead_code)] id: Uuid, + + #[allow(dead_code)] charger_id: String, + + #[allow(dead_code)] hashed_password: String, + + #[allow(dead_code)] created_at: DateTime, + + #[allow(dead_code)] last_used_at: Option>, }