Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
struct Traffic {
/* Traffic structure reflects `traffic` table columns and
used for serialization and deserialization */
id: i32,
domain_name: String,
data_consumed_in_bytes: i64,
date: chrono::Date<UTC>,
created_at: time::Timespec,
updated_at: time::Timespec,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment