The character of terahertz oscillations in resonance tunneling structures