.subsec_millis() でミリセカンドで取得できる。
.subsec_nanos() だとナノセカンドで値が大きすぎてしまう。
use std::{time};
let now = time::Instant::now();
let mut post_url = format!("http://www.jsontest.com/");
let client = reqwest::Client::new();
let resp = client.post(post_url)
.header(reqwest::header::CONTENT_TYPE, "application/json")
.json(&str)
.send()
.await
.unwrap();
println!("{}", now.elapsed().subsec_millis());
278