#[repr(u8)]pub enum ServiceTypes {
TradingService = 1,
TradingServiceViaHttpRequest = 2,
TradingServiceViaWebsocket = 3,
PrivateWebsocketStream = 4,
MarketDataService = 5,
}Variants§
TradingService = 1
Trading service
TradingServiceViaHttpRequest = 2
Trading service via http request
TradingServiceViaWebsocket = 3
Trading service via websocket
PrivateWebsocketStream = 4
Private websocket stream
MarketDataService = 5
Market data service
Trait Implementations§
Source§impl Clone for ServiceTypes
impl Clone for ServiceTypes
Source§fn clone(&self) -> ServiceTypes
fn clone(&self) -> ServiceTypes
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 ServiceTypes
Source§impl Debug for ServiceTypes
impl Debug for ServiceTypes
Source§impl<'de> Deserialize<'de> for ServiceTypes
impl<'de> Deserialize<'de> for ServiceTypes
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
Source§impl PartialEq for ServiceTypes
impl PartialEq for ServiceTypes
Source§fn eq(&self, other: &ServiceTypes) -> bool
fn eq(&self, other: &ServiceTypes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceTypes
impl Serialize for ServiceTypes
impl StructuralPartialEq for ServiceTypes
Auto Trait Implementations§
impl Freeze for ServiceTypes
impl RefUnwindSafe for ServiceTypes
impl Send for ServiceTypes
impl Sync for ServiceTypes
impl Unpin for ServiceTypes
impl UnsafeUnpin for ServiceTypes
impl UnwindSafe for ServiceTypes
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