1 2 3 4 5 6 7 8 9
use chrono::Utc; pub struct Time {} impl Time { pub fn now() -> i64 { Utc::now().timestamp_micros() } }