You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: handlers.rs
    path of file: ./repos/coolstore-microservices/src/rust/crates/product_catalog/src
    
    the code of the file until where you have to start completion: use axum::extract::Extension;
use common::ApiContext;
use slog::info;
use uuid::Uuid;

#[derive(serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
pub struct ProductDto {
    pub id: Uuid,
    pub name: String,
    pub price: f64,
    pub image_url: String,
    pub description: String,
    pub category_id: Uuid,
    pub category_name: String,
    pub inventory_id: Uuid,
    pub total: Option<i64>,
}

#[derive(serde::Deserialize, serde::Serialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct ProductDetailDto {
    pub id: Uuid,
    pub name: String,
    pub price: f64,
    pub image_url: String,
    pub description: Strin
    
async fn get_inventory_by_ids(inventory_uri: &str, ids: &str) -> common::Result<Vec<InventoryDto>> {
    let resp = reqwest::Client::new()
        .post(format!("{}/get-inventories-by-ids", inventory_uri))
        .json(&serde_json::json!({
            "ids": ids,
        }))
        .send()
        .await
        .unwrap();

    let mut result: Vec<InventoryDto> = vec![];
    if resp.status() == reqwest::StatusCode::OK {
        if let Ok(parsed) = resp.json::<Vec<InventoryDto>>().await {
            parsed.into_iter().for_each(|inv| {
                result.push(InventoryDto {
                    id: inv.id,
                    location: inv.location,
                    website: inv.website,
                    description: inv.description,
                });
            });
        }
    }

    Ok(result)
}