pub struct DataItem {
pub market: Option<Market>,
pub submarket: Option<Submarket>,
pub symbol: Option<Vec<SymbolItem>>,
pub trade_durations: Option<Vec<TradeDurationItem>>,
}
Fields§
§market: Option<Market>
The market in which the underlyings listed in symbol
located.\n
submarket: Option<Submarket>
The submarket in which the underlyings listed in symbol
located.\n
symbol: Option<Vec<SymbolItem>>
List of underlying symbols.\n
trade_durations: Option<Vec<TradeDurationItem>>
List of trade durations available for symbols and contract combinations.\n
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataItem
impl<'de> Deserialize<'de> for DataItem
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 DataItem
impl RefUnwindSafe for DataItem
impl Send for DataItem
impl Sync for DataItem
impl Unpin for DataItem
impl UnwindSafe for DataItem
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