kucoin_arbitrage 0.0.12

Event-Driven Kucoin Arbitrage Framework in Async Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Counter for system monitor
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub struct Counter {
    pub name: &'static str,
    pub data_count: u64,
}
impl Counter {
    // Constructs a new instance of [`Counter`].
    pub fn new(name: &'static str) -> Self {
        Self {
            name,
            data_count: 0,
        }
    }
}