Maybe this helps then
Base.@kwdef mutable struct MyStruct
id::Int
value::Symbol = :fixed
notimportant::Int = -1
function MyStruct(id, value, notimportant)
new(id, Symbol(value), notimportant)
end
end
MyStruct(id=1, value=:a)
MyStruct(id=2, value="b")