pub struct WsSubscription {
pub channel: SmartString,
pub symbols: Vec<Symbol>,
pub params: Option<Value>,
}Expand description
WebSocket subscription request
Fields§
§channel: SmartStringThe channel to subscribe to.
symbols: Vec<Symbol>The symbols to subscribe to.
params: Option<Value>Additional parameters for the subscription.
Trait Implementations§
Source§impl Debug for WsSubscription
impl Debug for WsSubscription
Source§impl<'de> Deserialize<'de> for WsSubscription
impl<'de> Deserialize<'de> for WsSubscription
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 WsSubscription
impl RefUnwindSafe for WsSubscription
impl Send for WsSubscription
impl Sync for WsSubscription
impl Unpin for WsSubscription
impl UnwindSafe for WsSubscription
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