use serde::Serialize;
use serde::de::DeserializeOwned;
use crate::segment::types::{DateTimePayloadType, FloatPayloadType, IntPayloadType};
pub trait Encodable: Copy + Serialize + DeserializeOwned + 'static {}
impl Encodable for IntPayloadType {}
impl Encodable for u128 {}
impl Encodable for FloatPayloadType {}
impl Encodable for DateTimePayloadType {}