pub struct DeliveryPrice {
pub symbol: String,
pub delivery_price: String,
pub delivery_time: u64,
}Expand description
Represents a delivery price record for a futures contract. Details the settlement price and time, primarily for non-perpetual futures.
Fields§
§symbol: StringThe trading symbol (e.g., “BTCUSDT”). Specifies the market for the delivery price. Bots use this to align with trading pairs.
delivery_price: StringThe settlement price at delivery (e.g., “50000”). The price at which the contract settles. For perpetual futures, this is less relevant but may be used for benchmarking or strategy backtesting.
delivery_time: u64Timestamp of the delivery (Unix epoch in milliseconds). Marks when the contract was settled. Bots use this for time-series analysis.
Trait Implementations§
Source§impl Clone for DeliveryPrice
impl Clone for DeliveryPrice
Source§fn clone(&self) -> DeliveryPrice
fn clone(&self) -> DeliveryPrice
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 DeliveryPrice
impl Debug for DeliveryPrice
Source§impl<'de> Deserialize<'de> for DeliveryPrice
impl<'de> Deserialize<'de> for DeliveryPrice
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 DeliveryPrice
impl RefUnwindSafe for DeliveryPrice
impl Send for DeliveryPrice
impl Sync for DeliveryPrice
impl Unpin for DeliveryPrice
impl UnsafeUnpin for DeliveryPrice
impl UnwindSafe for DeliveryPrice
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