pub struct PolyPriceLevel {
pub price: String,
pub size: String,
}Expand description
Single price level in order book
Fields§
§price: StringPrice (0.0 - 1.0) as string
size: StringTotal size at this level
Implementations§
Trait Implementations§
Source§impl Clone for PolyPriceLevel
impl Clone for PolyPriceLevel
Source§fn clone(&self) -> PolyPriceLevel
fn clone(&self) -> PolyPriceLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolyPriceLevel
impl Debug for PolyPriceLevel
Source§impl<'de> Deserialize<'de> for PolyPriceLevel
impl<'de> Deserialize<'de> for PolyPriceLevel
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 PolyPriceLevel
impl RefUnwindSafe for PolyPriceLevel
impl Send for PolyPriceLevel
impl Sync for PolyPriceLevel
impl Unpin for PolyPriceLevel
impl UnsafeUnpin for PolyPriceLevel
impl UnwindSafe for PolyPriceLevel
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