pub struct SettlementEvent {
pub settlement_price: f64,
pub settlement_time: i64,
pub timestamp: i64,
}Expand description
Contract settlement event.
Published when a futures or options contract settles at expiry.
Fields§
§settlement_price: f64Final settlement price of the contract.
settlement_time: i64Scheduled settlement time in milliseconds.
timestamp: i64Event publication timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for SettlementEvent
impl Clone for SettlementEvent
Source§fn clone(&self) -> SettlementEvent
fn clone(&self) -> SettlementEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SettlementEvent
Source§impl Debug for SettlementEvent
impl Debug for SettlementEvent
Source§impl<'de> Deserialize<'de> for SettlementEvent
impl<'de> Deserialize<'de> for SettlementEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SettlementEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SettlementEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SettlementEvent
impl PartialEq for SettlementEvent
Source§fn eq(&self, other: &SettlementEvent) -> bool
fn eq(&self, other: &SettlementEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SettlementEvent
impl Serialize for SettlementEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SettlementEvent
Auto Trait Implementations§
impl Freeze for SettlementEvent
impl RefUnwindSafe for SettlementEvent
impl Send for SettlementEvent
impl Sync for SettlementEvent
impl Unpin for SettlementEvent
impl UnsafeUnpin for SettlementEvent
impl UnwindSafe for SettlementEvent
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