pub struct Mids(/* private fields */);Expand description
Every coin’s mid on one dex, in the venue’s order. The main dex’s also carries spot pairs
(@107, PURR/USDC) and outcome sides (#14730). Where a book is empty the venue prints its
last trade instead, and a mid can sit between two ticks.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mids
Reads the JSON map into pairs to keep the order written, which a map type would lose.
impl<'de> Deserialize<'de> for Mids
Reads the JSON map into pairs to keep the order written, which a map type would lose.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Mids
impl StructuralPartialEq for Mids
Auto Trait Implementations§
impl Freeze for Mids
impl RefUnwindSafe for Mids
impl Send for Mids
impl Sync for Mids
impl Unpin for Mids
impl UnsafeUnpin for Mids
impl UnwindSafe for Mids
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.