pub struct LastTrade {
pub price: Decimal,
pub volume: Decimal,
}
Expand description
Price and volume for the most recent trade
Fields§
§price: Decimal
§volume: Decimal
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LastTrade
impl<'de> Deserialize<'de> for LastTrade
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
impl StructuralPartialEq for LastTrade
Auto Trait Implementations§
impl Freeze for LastTrade
impl RefUnwindSafe for LastTrade
impl Send for LastTrade
impl Sync for LastTrade
impl Unpin for LastTrade
impl UnwindSafe for LastTrade
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