pub struct TickerBidAsk {
pub price: Decimal,
pub whole_lot_volume: i64,
pub lot_volume: Decimal,
}
Expand description
Best bid or ask
Separate type needed for different format from WSS API.
Fields§
§price: Decimal
§whole_lot_volume: i64
§lot_volume: Decimal
Trait Implementations§
Source§impl Clone for TickerBidAsk
impl Clone for TickerBidAsk
Source§fn clone(&self) -> TickerBidAsk
fn clone(&self) -> TickerBidAsk
Returns a copy 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 TickerBidAsk
impl Debug for TickerBidAsk
Source§impl<'de> Deserialize<'de> for TickerBidAsk
impl<'de> Deserialize<'de> for TickerBidAsk
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 PartialEq for TickerBidAsk
impl PartialEq for TickerBidAsk
impl StructuralPartialEq for TickerBidAsk
Auto Trait Implementations§
impl Freeze for TickerBidAsk
impl RefUnwindSafe for TickerBidAsk
impl Send for TickerBidAsk
impl Sync for TickerBidAsk
impl Unpin for TickerBidAsk
impl UnwindSafe for TickerBidAsk
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