How do I load ecto structs from a postgresql function?

Thanks! I haven’t looked at Arbor’s source yet and Im reluctant to use it off the shelf, it would be complete overkill for my use case.

Discarding my practical use case here, does anyone have a neat approach for loading a a function result set as schema x structs using Ecto?