#[non_exhaustive]pub enum WsChannelGroup {
Public,
Private,
Business,
}Expand description
OKX WebSocket channel group.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Public
Public market-data channels.
Private
Private account and order channels.
Business
Business channels such as candle variants and some advanced feeds.
Trait Implementations§
Source§impl Clone for WsChannelGroup
impl Clone for WsChannelGroup
Source§fn clone(&self) -> WsChannelGroup
fn clone(&self) -> WsChannelGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WsChannelGroup
Source§impl Debug for WsChannelGroup
impl Debug for WsChannelGroup
impl Eq for WsChannelGroup
Source§impl Hash for WsChannelGroup
impl Hash for WsChannelGroup
Source§impl PartialEq for WsChannelGroup
impl PartialEq for WsChannelGroup
impl StructuralPartialEq for WsChannelGroup
Auto Trait Implementations§
impl Freeze for WsChannelGroup
impl RefUnwindSafe for WsChannelGroup
impl Send for WsChannelGroup
impl Sync for WsChannelGroup
impl Unpin for WsChannelGroup
impl UnsafeUnpin for WsChannelGroup
impl UnwindSafe for WsChannelGroup
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