uses a proc-macro to automate command definitions
This commit is contained in:
@@ -1,9 +1 @@
|
||||
use derive_more::TryInto;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Clone, Copy, Serialize, Deserialize, TryInto)]
|
||||
pub enum DataValue {
|
||||
Float32(f32),
|
||||
Float64(f64),
|
||||
Boolean(bool),
|
||||
}
|
||||
pub use api_core::data_value::*;
|
||||
|
||||
Reference in New Issue
Block a user