module models

This commit is contained in:
2023-06-13 21:27:26 +02:00
parent 0e9ec51959
commit 7e9f29cd0e
3 changed files with 9 additions and 9 deletions

View File

@@ -1,8 +1,6 @@
#![allow(confusable_idents)]
#![allow(mixed_script_confusables)]
use serde::{Deserialize, Serialize};
pub mod helper;
pub mod influxdb_models;
pub mod unit_conversion;
@@ -12,12 +10,8 @@ pub type Point = types::point::Point;
pub type MAC = types::mac::MAC;
pub mod antenna;
pub type Antenna = antenna::Antenna;
mod models;
pub type Antenna = models::antenna::Antenna;
pub type DeviceReport = models::DeviceReport;
#[derive(Debug, Serialize, Deserialize)]
pub struct DeviceReport {
pub data: Vec<influxdb_models::BeaconMeasure>,
}

View File

@@ -0,0 +1,6 @@
pub mod antenna;
#[derive(Debug, serde::Serialize, serde::Deserialize)]
pub struct DeviceReport {
pub data: Vec<crate::influxdb_models::BeaconMeasure>,
}