One option would be specifying the :__struct__ field
%{__struct__: module(), specific_key: String.t()}
Though depending on your use case you may not even want to limit it to structs.
One option would be specifying the :__struct__ field
%{__struct__: module(), specific_key: String.t()}
Though depending on your use case you may not even want to limit it to structs.