pub struct ExchangeAssetConfig {
pub pair: String,
pub min_order: f64,
pub fee_tier: Option<String>,
pub category: Option<String>,
}Fields§
§pair: StringExchange-specific trading pair symbol
min_order: f64Minimum order size on this exchange
fee_tier: Option<String>Fee tier (e.g., “maker”, “taker”)
category: Option<String>Category for derivatives (e.g., “linear”, “inverse”)
Trait Implementations§
Source§impl Clone for ExchangeAssetConfig
impl Clone for ExchangeAssetConfig
Source§fn clone(&self) -> ExchangeAssetConfig
fn clone(&self) -> ExchangeAssetConfig
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 moreSource§impl Debug for ExchangeAssetConfig
impl Debug for ExchangeAssetConfig
Source§impl Default for ExchangeAssetConfig
impl Default for ExchangeAssetConfig
Source§impl<'de> Deserialize<'de> for ExchangeAssetConfigwhere
ExchangeAssetConfig: Default,
impl<'de> Deserialize<'de> for ExchangeAssetConfigwhere
ExchangeAssetConfig: Default,
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 ExchangeAssetConfig
impl RefUnwindSafe for ExchangeAssetConfig
impl Send for ExchangeAssetConfig
impl Sync for ExchangeAssetConfig
impl Unpin for ExchangeAssetConfig
impl UnsafeUnpin for ExchangeAssetConfig
impl UnwindSafe for ExchangeAssetConfig
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