1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
use ;
use crateDEFAULT_URL;
/// Options for configuring the `BybitWorkerBuilder`.
///
/// `BybitWorkerBuilderOpts` provides a way to specify custom settings for creating a `BybitWorker`.
/// This struct allows users to set optional parameters such as the WebSocket URL, which will be used during the construction of the `BybitWorker`.
///
/// # Examples
///
/// ```rust
/// use bothan_bybit::worker::opts::WorkerOpts;
///
/// let opts = WorkerOpts {
/// url: "wss://stream.bybit.com/v5/public/spot".to_string(),
/// };
/// ```
/// Returns the default WebSocket URL for the Bybit API.