macro_rules! generate_str_to_from { ($enum_name:ident, $([$member_name:ident, $string_value:expr]),* ) => { ... }; }