pub struct TradeVolume {
pub currency: String,
pub volume: Decimal,
pub fees: Option<HashMap<String, Fees>>,
pub fees_maker: Option<HashMap<String, Fees>>,
}
Expand description
Response type for TradeVolume
In the case of maker-taker fees, fees
maps trading pairs to taker fees. Otherwise, it
represents fees more broadly.
Fields§
§currency: String
§volume: Decimal
§fees: Option<HashMap<String, Fees>>
§fees_maker: Option<HashMap<String, Fees>>
Trait Implementations§
Source§impl Clone for TradeVolume
impl Clone for TradeVolume
Source§fn clone(&self) -> TradeVolume
fn clone(&self) -> TradeVolume
Returns a copy of the value. Read more
1.0.0 · 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 TradeVolume
impl Debug for TradeVolume
Source§impl<'de> Deserialize<'de> for TradeVolume
impl<'de> Deserialize<'de> for TradeVolume
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 TradeVolume
impl PartialEq for TradeVolume
impl StructuralPartialEq for TradeVolume
Auto Trait Implementations§
impl Freeze for TradeVolume
impl RefUnwindSafe for TradeVolume
impl Send for TradeVolume
impl Sync for TradeVolume
impl Unpin for TradeVolume
impl UnwindSafe for TradeVolume
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