Objects whose structure can be redefined

That’s why I suggested using NamedTuples instead:

julia> f = (a=4,b="hello!")
(a = 4, b = "hello!")

julia> f.a
4

julia> f.b
"hello!"
5 Likes