1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
//! <b style="font-variant:small-caps">crates_categories.csv</b>

use crate::categories::CategoryId;
use crate::crates::CrateId;
use serde::Deserialize;

/// One row of **crates_categories.csv**.
#[derive(Deserialize, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
pub struct Row {
    pub crate_id: CrateId,
    pub category_id: CategoryId,
}