pub fn field_ref(field: &str, type_name: &str) -> String
Encodes a struct field’s type as a reference.