pub struct WsTrade {
pub timestamp: u64,
pub symbol: String,
pub side: String,
pub volume: f64,
pub price: f64,
pub tick_direction: String,
pub id: String,
pub buyer_is_maker: bool,
}Fields§
§timestamp: u64§symbol: String§side: String§volume: f64§price: f64§tick_direction: String§id: String§buyer_is_maker: boolTrait Implementations§
source§impl<'de> Deserialize<'de> for WsTrade
impl<'de> Deserialize<'de> for WsTrade
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
impl Send for WsTrade
impl Sync for WsTrade
Auto Trait Implementations§
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