bybit/timed.rs
1#[derive(Clone, Debug, PartialEq, Eq)]
2pub struct Timed<T> {
3 /// The time when the data was received (in milliseconds).
4 ///
5 /// This timestamp indicates when the data was fetched or updated. Bots can use this to synchronize data with other events or to measure latency.
6 pub time: u64,
7 /// The actual data of type `T`.
8 ///
9 /// This field contains the specific data structure that holds the relevant information for the bot's operation. Bots can use this to access and manipulate the data as needed.
10 pub data: T,
11}