Working with postgres db using routing with iron server

Hi everyone.
I just cant understand why my postgres::Connection obj does not have query method, I just cant read the data from the table using
let data=obj.query("SELECT * FROM users WHERE id=$1",&[&1i32]);
and then let person=Person{id:data.get(0)...};

another thing is that the data is not added to the table with such operation:

obj.execute("INSERT INTO users (id,login,password,email) VALUES($1,$2,$3,$4)",&[&person.id.clone(),&person.login.clone(),&person.password.clone(),&person.email.clone()]).unwrap();
What am i doing wrong???????