pub struct ExchangesConfig {
pub enabled_exchanges: Vec<String>,
pub binance: Option<ExchangeConfig>,
pub upbit: Option<ExchangeConfig>,
pub bybit: Option<ExchangeConfig>,
pub coinbase: Option<ExchangeConfig>,
pub bithumb: Option<ExchangeConfig>,
}Expand description
Exchange configuration container
Fields§
§enabled_exchanges: Vec<String>List of enabled exchange names
binance: Option<ExchangeConfig>Binance exchange configuration
upbit: Option<ExchangeConfig>Upbit exchange configuration
bybit: Option<ExchangeConfig>Bybit exchange configuration
coinbase: Option<ExchangeConfig>Coinbase exchange configuration
bithumb: Option<ExchangeConfig>Bithumb exchange configuration
Trait Implementations§
Source§impl Clone for ExchangesConfig
impl Clone for ExchangesConfig
Source§fn clone(&self) -> ExchangesConfig
fn clone(&self) -> ExchangesConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExchangesConfig
impl Debug for ExchangesConfig
Source§impl<'de> Deserialize<'de> for ExchangesConfig
impl<'de> Deserialize<'de> for ExchangesConfig
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
Auto Trait Implementations§
impl Freeze for ExchangesConfig
impl RefUnwindSafe for ExchangesConfig
impl Send for ExchangesConfig
impl Sync for ExchangesConfig
impl Unpin for ExchangesConfig
impl UnwindSafe for ExchangesConfig
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