If what you mean by “alias” is to customize the way Dog instances are printed, then you can define a new, specific method for Base.show. This is explained in mode details in the Custom pretty-printing section of the manual
julia> struct Dog
name
age
end
julia> array = [Dog(:Jack, 2), Dog(:Max, 3)]
2-element Vector{Dog}:
Dog(:Jack, 2)
Dog(:Max, 3)
julia> function Base.show(io::IO, mime::MIME"text/plain", dog::Dog)
show(io, mime, dog.name)
end
julia> array
2-element Vector{Dog}:
:Jack
:Max