pub struct Quote {Show 16 fields
pub variety: String,
pub contract_id: String,
pub deliv_month: String,
pub open: String,
pub high: String,
pub low: String,
pub close: String,
pub last_clear: String,
pub last_price: String,
pub clear_price: String,
pub diff: String,
pub diff1: String,
pub volume: i64,
pub open_interest: i64,
pub diff_i: i64,
pub turnover: String,
}Expand description
Quote data for a contract.
Fields§
§variety: StringVariety code.
contract_id: StringContract ID.
deliv_month: StringDelivery month (for night quotes).
open: StringOpen price.
high: StringHigh price.
low: StringLow price.
close: StringClose price.
last_clear: StringLast clearing price.
last_price: StringLast price (for night quotes).
clear_price: StringClearing/settlement price.
diff: StringPrice difference.
diff1: StringPrice difference 1.
volume: i64Volume.
open_interest: i64Open interest.
diff_i: i64Open interest difference.
turnover: StringTurnover.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quote
impl<'de> Deserialize<'de> for Quote
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 Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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