pub struct ExchangeConfig {
pub exchange_id: ExchangeId,
pub rest_base_url: Option<String>,
pub websocket_base_url: Option<String>,
pub credentials: Option<ApiCredentials>,
}Expand description
Re-exported secret string type used by API credentials.
Fields§
§exchange_id: ExchangeId§rest_base_url: Option<String>§websocket_base_url: Option<String>§credentials: Option<ApiCredentials>Implementations§
Trait Implementations§
Source§impl Debug for ExchangeConfig
impl Debug for ExchangeConfig
Source§impl PartialEq for ExchangeConfig
impl PartialEq for ExchangeConfig
Source§fn eq(&self, other: &ExchangeConfig) -> bool
fn eq(&self, other: &ExchangeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExchangeConfig
impl StructuralPartialEq for ExchangeConfig
Auto Trait Implementations§
impl Freeze for ExchangeConfig
impl RefUnwindSafe for ExchangeConfig
impl Send for ExchangeConfig
impl Sync for ExchangeConfig
impl Unpin for ExchangeConfig
impl UnsafeUnpin for ExchangeConfig
impl UnwindSafe for ExchangeConfig
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