pub struct SubscribeMessage {
pub trades: Option<Vec<String>>,
pub quotes: Option<Vec<String>>,
pub bars: Option<Vec<String>>,
pub trade_updates: Option<bool>,
}Expand description
Subscription message
Fields§
§trades: Option<Vec<String>>§quotes: Option<Vec<String>>§bars: Option<Vec<String>>§trade_updates: Option<bool>Trait Implementations§
Source§impl Clone for SubscribeMessage
impl Clone for SubscribeMessage
Source§fn clone(&self) -> SubscribeMessage
fn clone(&self) -> SubscribeMessage
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 SubscribeMessage
impl Debug for SubscribeMessage
Source§impl<'de> Deserialize<'de> for SubscribeMessage
impl<'de> Deserialize<'de> for SubscribeMessage
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 SubscribeMessage
impl RefUnwindSafe for SubscribeMessage
impl Send for SubscribeMessage
impl Sync for SubscribeMessage
impl Unpin for SubscribeMessage
impl UnwindSafe for SubscribeMessage
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