pub fn variant(name: &str, tag: &str, payload: Option<&str>) -> String
Builds one alternative of a named enum.