Some elixir macro - utils to operate with structs