Add derive serde
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
pub fn dbg_chn(chn: &str) -> bool {
|
||||
if true {
|
||||
let chns = [
|
||||
"SATUN21-MQUA080:I-SET",
|
||||
"SATUN21-MQUA080:I-SET-ARCH",
|
||||
"SATUN21-MQUA080:I-READ",
|
||||
"ARS05-RAMP-0060:COUNTER",
|
||||
"SSL2-LENC-MF05:H_SCALE",
|
||||
"SINEG01:QE-B1-OP",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
use netpod::DtMs;
|
||||
use netpod::TsMs;
|
||||
use serde::Deserialize;
|
||||
use serde::Serialize;
|
||||
use std::fmt;
|
||||
|
||||
autoerr::create_error_v1!(
|
||||
@@ -14,7 +16,7 @@ autoerr::create_error_v1!(
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct MspU32(pub u32);
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub enum PrebinnedPartitioning {
|
||||
Sec1,
|
||||
Sec10,
|
||||
|
||||
Reference in New Issue
Block a user