pub struct DepthUpdate {
pub action: String,
pub changes: Option<DepthSnapshot>,
pub view: Option<DepthSnapshot>,
pub market_id: MarketId,
pub onchain_timestamp: Option<String>,
pub seen_timestamp: Option<String>,
}Expand description
Depth update from WebSocket subscribe_depth_update.
Fields§
§action: String§changes: Option<DepthSnapshot>§view: Option<DepthSnapshot>§market_id: MarketId§onchain_timestamp: Option<String>§seen_timestamp: Option<String>Trait Implementations§
Source§impl Clone for DepthUpdate
impl Clone for DepthUpdate
Source§fn clone(&self) -> DepthUpdate
fn clone(&self) -> DepthUpdate
Returns a duplicate 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 DepthUpdate
impl Debug for DepthUpdate
Source§impl<'de> Deserialize<'de> for DepthUpdate
impl<'de> Deserialize<'de> for DepthUpdate
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 DepthUpdate
impl RefUnwindSafe for DepthUpdate
impl Send for DepthUpdate
impl Sync for DepthUpdate
impl Unpin for DepthUpdate
impl UnwindSafe for DepthUpdate
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