1 2 3 4 5 6 7 8 9 10
use chrono::{DateTime, Utc}; use uuid::Uuid; pub struct Base { pub id: i32, pub uuid: Uuid, pub created: DateTime<Utc>, pub updated: DateTime<Utc>, pub version: Vec<u8>, }