Trudinger type inequalities and uniqueness of weak solutions for the nonlinear Schrödinger mixed problem