bybit/models/pre_listing_phase.rs
1use crate::prelude::*;
2
3/// Represents a single pre-listing phase.
4///
5/// Details a phase in the pre-listing auction process. Not relevant for perpetual futures.
6#[derive(Serialize, Deserialize, Clone, Debug)]
7#[serde(rename_all = "camelCase")]
8pub struct PreListingPhase {
9 /// The phase name (e.g., "DutchAuction").
10 ///
11 /// Identifies the auction phase. Not relevant for perpetuals.
12 pub phase: String,
13
14 /// The start time of the phase (Unix timestamp in milliseconds).
15 ///
16 /// Marks the beginning of the phase. Not relevant for perpetuals.
17 #[serde(with = "string_to_u64")]
18 pub start_time: u64,
19
20 /// The end time of the phase (Unix timestamp in milliseconds).
21 ///
22 /// Marks the end of the phase. Not relevant for perpetuals.
23 #[serde(with = "string_to_u64")]
24 pub end_time: u64,
25}