Rust mongodb error

Hi,
I’m trying to connect to mongodb using the code:

use mongodb::{bson::doc, options::IndexOptions, Client, Collection, IndexModel};
// ..
async fn signin_form(Form(signin): Form<Signin>)-> axum::response::Response<String> {
	let ac = username;
	let client = Client::with_uri_str("mongodb+srv://user:pass@cluster0.um0c2p7.mongodb.net/?retryWrites=true&w=majority").await;
	let db = client.database("db").collection("users");
	db.insert_one(doc!{"username": username},None).await;
	// ..
}

But an error appears:

method not found in `Result<Client, mongodb::error::Error>`