elixir pass struct name as variable code example Example: elixir struct example # struct example %__MODULE__{ name: "apple", location: {40,0,1}, }