pub struct Depth {
pub event_type: String,
pub event_time: u64,
pub symbol: String,
pub first_update_id: u64,
pub final_update_id: u64,
pub bids: Vec<Bids>,
pub asks: Vec<Asks>,
}
Fields§
§event_type: String
§event_time: u64
§symbol: String
§first_update_id: u64
§final_update_id: u64
§bids: Vec<Bids>
§asks: Vec<Asks>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Depth
impl<'de> Deserialize<'de> for Depth
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 Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
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