#[repr(u8)]pub enum StreamMsgType {
Show 21 variants
Credentials = 0,
SessionToken = 1,
Info = 2,
Metadata = 3,
Connected = 4,
Ping = 10,
Error = 11,
Disconnected = 12,
Reconnected = 13,
Contract = 20,
Quote = 21,
Trade = 22,
OpenInterest = 23,
Ohlcvc = 24,
Start = 30,
Restart = 31,
Stop = 32,
ReqResponse = 40,
RemoveQuote = 51,
RemoveTrade = 52,
RemoveOpenInterest = 53,
}Expand description
Streaming message types for real-time data.
Variants§
Credentials = 0
SessionToken = 1
Info = 2
Metadata = 3
Connected = 4
Ping = 10
Error = 11
Disconnected = 12
Reconnected = 13
Contract = 20
Quote = 21
Trade = 22
OpenInterest = 23
Ohlcvc = 24
Start = 30
Restart = 31
Stop = 32
ReqResponse = 40
RemoveQuote = 51
RemoveTrade = 52
RemoveOpenInterest = 53
Implementations§
Trait Implementations§
Source§impl Clone for StreamMsgType
impl Clone for StreamMsgType
Source§fn clone(&self) -> StreamMsgType
fn clone(&self) -> StreamMsgType
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 StreamMsgType
impl Debug for StreamMsgType
Source§impl Hash for StreamMsgType
impl Hash for StreamMsgType
Source§impl PartialEq for StreamMsgType
impl PartialEq for StreamMsgType
impl Copy for StreamMsgType
impl Eq for StreamMsgType
impl StructuralPartialEq for StreamMsgType
Auto Trait Implementations§
impl Freeze for StreamMsgType
impl RefUnwindSafe for StreamMsgType
impl Send for StreamMsgType
impl Sync for StreamMsgType
impl Unpin for StreamMsgType
impl UnsafeUnpin for StreamMsgType
impl UnwindSafe for StreamMsgType
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