pub trait ToBytes { // Required method fn to_bytes(self) -> Vec<u8> ⓘ; }
Trait to convert to byte vec implement this to allow you struct to be used by builder
convert your type to bytes repersenting string of your type