pub struct OrderBookEntry {
pub price: f64,
pub amount: f64,
}Expand description
Order book entry
Fields§
§price: f64Price level
amount: f64Amount at this price level
Implementations§
Trait Implementations§
Source§impl Clone for OrderBookEntry
impl Clone for OrderBookEntry
Source§fn clone(&self) -> OrderBookEntry
fn clone(&self) -> OrderBookEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Source§impl Display for OrderBookEntry
impl Display for OrderBookEntry
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