pub struct BinanceOrderbookSnapshot {
pub last_update_id: u64,
pub bids: SmallVec<[[String; 2]; 32]>,
pub asks: SmallVec<[[String; 2]; 32]>,
}Expand description
Binance orderbook snapshot response
Fields§
§last_update_id: u64Last update ID
bids: SmallVec<[[String; 2]; 32]>Bid entries (price, quantity)
asks: SmallVec<[[String; 2]; 32]>Ask entries (price, quantity)
Trait Implementations§
Source§impl Clone for BinanceOrderbookSnapshot
impl Clone for BinanceOrderbookSnapshot
Source§fn clone(&self) -> BinanceOrderbookSnapshot
fn clone(&self) -> BinanceOrderbookSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceOrderbookSnapshot
impl Debug for BinanceOrderbookSnapshot
Source§impl<'de> Deserialize<'de> for BinanceOrderbookSnapshot
impl<'de> Deserialize<'de> for BinanceOrderbookSnapshot
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 BinanceOrderbookSnapshot
impl RefUnwindSafe for BinanceOrderbookSnapshot
impl Send for BinanceOrderbookSnapshot
impl Sync for BinanceOrderbookSnapshot
impl Unpin for BinanceOrderbookSnapshot
impl UnwindSafe for BinanceOrderbookSnapshot
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