db-dump 0.8.0

Library for scripting analyses against crates.io's database dumps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! <b style="font-variant:small-caps">oauth_github.csv</b>

use crate::users::UserId;
use serde_derive::Deserialize;

/// One row of **oauth_github.csv**.
#[derive(Deserialize, Clone, Debug)]
#[serde(deny_unknown_fields)]
#[non_exhaustive]
pub struct Row {
    pub user_id: UserId,
    pub account_id: i32,
    pub login: String,
    pub avatar: String,
}