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