pub struct TicksBatchRequest {
pub market: Market,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub subscribe: Option<i64>,
pub ticks_batch: i64,
}
Expand description
Initiate a continuous stream of spot price updates for a group symbols.
Fields§
§market: Market
The short market name.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
subscribe: Option<i64>
[Optional] If set to 1, will send updates in batches by market.\n
ticks_batch: i64
Must be 1
\n
Trait Implementations§
Source§impl Clone for TicksBatchRequest
impl Clone for TicksBatchRequest
Source§fn clone(&self) -> TicksBatchRequest
fn clone(&self) -> TicksBatchRequest
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 TicksBatchRequest
impl Debug for TicksBatchRequest
Source§impl<'de> Deserialize<'de> for TicksBatchRequest
impl<'de> Deserialize<'de> for TicksBatchRequest
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 TicksBatchRequest
impl RefUnwindSafe for TicksBatchRequest
impl Send for TicksBatchRequest
impl Sync for TicksBatchRequest
impl Unpin for TicksBatchRequest
impl UnwindSafe for TicksBatchRequest
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