pub struct DepthMap {
pub asks: HashMap<Price, Liq>,
pub bids: HashMap<Price, Liq>,
}Fields§
§asks: HashMap<Price, Liq>§bids: HashMap<Price, Liq>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepthMap
impl<'de> Deserialize<'de> for DepthMap
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 DepthMap
impl RefUnwindSafe for DepthMap
impl Send for DepthMap
impl Sync for DepthMap
impl Unpin for DepthMap
impl UnwindSafe for DepthMap
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