pub struct BidAskUpdate {
pub price: Decimal,
pub volume: Decimal,
pub timestamp: String,
pub update_type: Option<String>,
}
Expand description
Update to a price point for bids or asks
Fields§
§price: Decimal
§volume: Decimal
§timestamp: String
§update_type: Option<String>
Trait Implementations§
Source§impl Debug for BidAskUpdate
impl Debug for BidAskUpdate
Source§impl<'de> Deserialize<'de> for BidAskUpdate
impl<'de> Deserialize<'de> for BidAskUpdate
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
Source§impl PartialEq for BidAskUpdate
impl PartialEq for BidAskUpdate
impl StructuralPartialEq for BidAskUpdate
Auto Trait Implementations§
impl Freeze for BidAskUpdate
impl RefUnwindSafe for BidAskUpdate
impl Send for BidAskUpdate
impl Sync for BidAskUpdate
impl Unpin for BidAskUpdate
impl UnwindSafe for BidAskUpdate
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