1use crate::models::Timestamp; 2 3 4pub trait PointSerialize { 5 fn serialize(&self) -> String; 6 fn serialize_with_timestamp(&self, timestamp: Option<Timestamp>) -> String; 7}