Two custom derive macros are offered by jlrs, IntoJulia and JuliaStruct. See the documentation of jlrs for more information.
IntoJulia
JuliaStruct