1 2 3 4 5 6 7 8 9
use std::time::Duration; /// stores sequence and prev_time for a generator #[derive(Clone)] pub struct Counts { pub sequence: u64, pub prev_time: Duration, }