change Pattern and Pulse serializing strategy.
This commit is contained in:
parent
4dff3486fb
commit
19198d57d9
|
@ -15,6 +15,7 @@ use sled::IVec;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct Pattern {
|
pub struct Pattern {
|
||||||
pub id: Uuid,
|
pub id: Uuid,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
|
@ -25,6 +25,7 @@ impl Into<(f64, f64)> for CanvasPoint {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct Pulse {
|
pub struct Pulse {
|
||||||
pub order: u32,
|
pub order: u32,
|
||||||
pub id: Uuid,
|
pub id: Uuid,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user