C++ Extension: How to return a custom object

How to return new object types?

In my case I am writing a cpp extension that has the following signature

std::vector<my_struct_t> func();

How do I tell PYBIND11 how to convert my_struct_t to a python object?