pub struct WebSocketParams {
pub route: String,
}Fields§
§route: StringImplementations§
Source§impl WebSocketParams
impl WebSocketParams
pub fn new(host: WebSocketHost) -> Self
pub fn agg_trade(self, symbol: WebSocketSymbol) -> Self
pub fn mark_price( self, symbol: WebSocketSymbol, rate: WebSocketStreamRate, ) -> Self
pub fn mark_price_all(self, rate: WebSocketStreamRate) -> Self
pub fn kline_candlesticks( self, symbol: WebSocketSymbol, interval: Interval, ) -> Self
pub fn symbol_ticker_mini(self, symbol: WebSocketSymbol) -> Self
pub fn symbol_ticker_all(self) -> Self
pub fn symbol_ticker(self, symbol: WebSocketSymbol) -> Self
pub fn symbol_ticker_all_mini(self) -> Self
pub fn all_book_tickers(self) -> Self
pub fn liquidation_order(self, symbol: WebSocketSymbol) -> Self
pub fn all_market_liquidation_order(self) -> Self
pub fn partial_book_depth( self, symbol: WebSocketSymbol, levels: u8, milliseconds: WebSocketStreamRate, ) -> Self
Auto Trait Implementations§
impl Freeze for WebSocketParams
impl RefUnwindSafe for WebSocketParams
impl Send for WebSocketParams
impl Sync for WebSocketParams
impl Unpin for WebSocketParams
impl UnwindSafe for WebSocketParams
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