fn construct_headers() -> HeaderMap {
    let mut headers = HeaderMap::new();
    let api_key = dotenv::var("API_KEY").expect("API_KEY must be set");
    let token = format!("Token {}", api_key);
    headers.insert(AUTHORIZATION, HeaderValue::from_str(&token).unwrap());
    headers
}
/// User specific apikey as a token.
/// You need to [signup](https://kenall.jp/signup) to grab the key.
User specific apikey as a token.
You need to [signup] to grab the key.
User specific apikey as a token . You need to [ signup ] to grab the key .
fn construct_headers() -> HeaderMap {
    let mut headers = HeaderMap::new();
    let api_key = dotenv::var("API_KEY").expect("API_KEY must be set");
    let token = format!("Token {}", api_key);
    headers.insert(AUTHORIZATION, HeaderValue::from_str(&token).unwrap());
    headers
}
fn construct_headers ( ) -> HeaderMap { let mut headers = HeaderMap :: new ( ) ; let api_key = dotenv :: var ( " " ) . expect ( " " ) ; let token = format ! ( " " api_key ) ; headers . insert ( AUTHORIZATION , HeaderValue :: from_str ( & token ) . unwrap ( ) ) ; headers }
User specific apikey as a token.
User specific apikey as a token .