title: json method not found when Deserializing a reqwest response
body: <p>I'm pretty new to Rust, and I just cannot seem to find the solution to this problem. I am trying to get the response of the get request as json. </p>
  
  <pre><code>#[macro_use]
  extern crate serde;
  extern crate serde_derive;
  extern crate reqwest;
  use reqwest::Error;
  
  fn main(){
      #[derive(Deserialize)]
  
  struct Ip {
      origin: String,
  }
  
  let json: Ip = reqwest::get("http://httpbin.org/ip").json();
  //reqwest::get("http://httpbin.org/ip")?.json()?;
  }
  </code></pre>
  
  <p>Here is cargo.toml</p>
  
  <pre><code>[dependencies]
  serde = { version = "1.0", features = ["derive"] }
  serde_json = "1.0"
  serde_derive = "1.0"
  reqwest = { version = "0.10", features = ["blocking"] }
  </code></pre>
  
  <p>The error I keep getting is 
  <a href="https://i.stack.imgur.com/9DvKt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9DvKt.png" alt="json error"></a></p>
  
  <p>Also,
  if i use </p>
  
  <pre><code>reqwest::get("http://httpbin.org/ip")?.json()?;
  </code></pre>
  
  <p>(Adding the question marks)
  I get another error saying</p>
  
  <pre><code>cannot use the `?` operator in a function that returns `()`
  this function should return `Result` or `Option` to accept `?`
  </code></pre>
  
  <p>How do i fix these?</p>