pub struct OrderBookEntry {
pub price: String,
pub volume: String,
}Expand description
OrderBookEntry contains the limit price and available volume.
Fields§
§price: StringLimit price
volume: StringVolume available
Trait Implementations§
Source§impl Debug for OrderBookEntry
impl Debug for OrderBookEntry
Source§impl<'de> Deserialize<'de> for OrderBookEntry
impl<'de> Deserialize<'de> for OrderBookEntry
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 OrderBookEntry
impl RefUnwindSafe for OrderBookEntry
impl Send for OrderBookEntry
impl Sync for OrderBookEntry
impl Unpin for OrderBookEntry
impl UnwindSafe for OrderBookEntry
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