use serde::Serialize;
#[derive(PartialEq, Eq, Clone, Copy, Hash, Debug, Serialize)]
#[serde(tag = "type", content = "data")]
pub enum ScalarTyp {
Bool,
U8,
U16,
U32,
U64,
I32,
I64,
F32,
F64,
Str,
Datetime,
Timestamp,
Decimal,
Id32,
Id64,
Fuid,
LowId,
Bytes,
Void,
#[serde(rename = "Json")]
RustJson,
JsonBytes,
ArrayBytes(u32),
}