pub struct PreListingPhase {
pub phase: String,
pub start_time: u64,
pub end_time: u64,
}Expand description
Represents a single pre-listing phase.
Details a phase in the pre-listing auction process. Not relevant for perpetual futures.
Fields§
§phase: StringThe phase name (e.g., “DutchAuction”).
Identifies the auction phase. Not relevant for perpetuals.
start_time: u64The start time of the phase (Unix timestamp in milliseconds).
Marks the beginning of the phase. Not relevant for perpetuals.
end_time: u64The end time of the phase (Unix timestamp in milliseconds).
Marks the end of the phase. Not relevant for perpetuals.
Trait Implementations§
Source§impl Clone for PreListingPhase
impl Clone for PreListingPhase
Source§fn clone(&self) -> PreListingPhase
fn clone(&self) -> PreListingPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreListingPhase
impl Debug for PreListingPhase
Source§impl<'de> Deserialize<'de> for PreListingPhase
impl<'de> Deserialize<'de> for PreListingPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreListingPhase
impl RefUnwindSafe for PreListingPhase
impl Send for PreListingPhase
impl Sync for PreListingPhase
impl Unpin for PreListingPhase
impl UnsafeUnpin for PreListingPhase
impl UnwindSafe for PreListingPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more