Hamiltonian formulation and coherent structures in electrostatic turbulence