Struct definitions don’t use assignment; you haven’t given your struct a name; You’ll have to specify the type parameters of Unitful.Length as well, as UnionAlls are not allowed in a type specification:
julia> struct STRUCT_NAME{F <: AbstractFloat, U <: Unitful.Length{F}}
v::Vector{U} # only one dimension or more needed?
end