pub trait Barcode1D { // Required methods fn encode_1d(&mut self) -> String; fn get_human_text_1d(&self) -> String; }