First, please surround your code with triple backticks.
Second, you cannot have variable assignments within a struct. The error message you get tells you this:
ERROR: syntax: "it = zeros(Int8, 10)" inside type definition is reserved
If you need this data inside a struct, create a field it::Vector{Int8}
and then initialize the struct with lis(zeros(Int8, 10), ...)
.