You might find this discussion useful if you haven’t already seen it: Composition and inheritance: the Julian way
This package https://github.com/rjplevin/Classes.jl can help emulate something like what you’re asking for, but I would keep in mind that this is not usually the right way to do things in Julia. Using abstract types and method dispatch would be the recommended solution that leads to clearer / faster / more “Julian” code.