pub struct Fee {
pub currency: Option<String>,
pub cost: Option<f64>,
pub rate: Option<f64>,
pub raw: Value,
}Expand description
A single trading-fee descriptor (per currency or per side).
Fields§
§currency: Option<String>§cost: Option<f64>§rate: Option<f64>§raw: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fee
impl RefUnwindSafe for Fee
impl Send for Fee
impl Sync for Fee
impl Unpin for Fee
impl UnsafeUnpin for Fee
impl UnwindSafe for Fee
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