Enum crypto_botters::bybit::BybitWebSocketUrl
source · pub enum BybitWebSocketUrl {
Bybit,
Bytick,
Test,
None,
}
Available on crate feature
bybit
only.Expand description
A enum
that represents the base url of the Bybit WebSocket API.
Variants§
Bybit
wss://stream.bybit.com
Bytick
wss://stream.bytick.com
Test
wss://stream-testnet.bybit.com
None
The url will not be modified by BybitWebSocketHandler
Implementations§
Trait Implementations§
source§impl Clone for BybitWebSocketUrl
impl Clone for BybitWebSocketUrl
source§fn clone(&self) -> BybitWebSocketUrl
fn clone(&self) -> BybitWebSocketUrl
Returns a copy 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 BybitWebSocketUrl
impl Debug for BybitWebSocketUrl
source§impl PartialEq for BybitWebSocketUrl
impl PartialEq for BybitWebSocketUrl
source§fn eq(&self, other: &BybitWebSocketUrl) -> bool
fn eq(&self, other: &BybitWebSocketUrl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BybitWebSocketUrl
impl Eq for BybitWebSocketUrl
impl StructuralEq for BybitWebSocketUrl
impl StructuralPartialEq for BybitWebSocketUrl
Auto Trait Implementations§
impl RefUnwindSafe for BybitWebSocketUrl
impl Send for BybitWebSocketUrl
impl Sync for BybitWebSocketUrl
impl Unpin for BybitWebSocketUrl
impl UnwindSafe for BybitWebSocketUrl
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.