pub struct OkxInstrument {
pub instrument_id: CryptoSymbol,
pub list_time: DateTime<Utc>,
pub expiry_time: Option<DateTime<Utc>>,
pub tick_size: Decimal,
pub lot_size: Decimal,
pub min_size: Decimal,
pub state: OkxInstrumentState,
pub extra: OkxInstrumentExtra,
}Fields§
§instrument_id: CryptoSymbol§list_time: DateTime<Utc>§expiry_time: Option<DateTime<Utc>>§tick_size: Decimal§lot_size: Decimal§min_size: Decimal§state: OkxInstrumentState§extra: OkxInstrumentExtraTrait Implementations§
Source§impl Debug for OkxInstrument
impl Debug for OkxInstrument
Source§impl<'de> Deserialize<'de> for OkxInstrument
impl<'de> Deserialize<'de> for OkxInstrument
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 OkxInstrument
impl RefUnwindSafe for OkxInstrument
impl Send for OkxInstrument
impl Sync for OkxInstrument
impl Unpin for OkxInstrument
impl UnsafeUnpin for OkxInstrument
impl UnwindSafe for OkxInstrument
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