pub struct LastPrice {
pub symbol: Option<String>,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub price: Option<f64>,
pub side: Option<String>,
pub raw: Value,
}Expand description
Last traded price per symbol (each value of fetchLastPrices). Mirrors the
TS LastPrice interface.
Fields§
§symbol: Option<String>§timestamp: Option<i64>§datetime: Option<String>§price: Option<f64>§side: Option<String>§raw: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LastPrice
impl RefUnwindSafe for LastPrice
impl Send for LastPrice
impl Sync for LastPrice
impl Unpin for LastPrice
impl UnsafeUnpin for LastPrice
impl UnwindSafe for LastPrice
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