pub struct FeeByVolume {
pub volume: f64,
pub fee: f64,
}
Expand description
Tiered fee description
Fields§
§volume: f64
§fee: f64
Trait Implementations§
Source§impl Clone for FeeByVolume
impl Clone for FeeByVolume
Source§fn clone(&self) -> FeeByVolume
fn clone(&self) -> FeeByVolume
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 FeeByVolume
impl Debug for FeeByVolume
Source§impl<'de> Deserialize<'de> for FeeByVolume
impl<'de> Deserialize<'de> for FeeByVolume
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 FeeByVolume
impl PartialEq for FeeByVolume
impl StructuralPartialEq for FeeByVolume
Auto Trait Implementations§
impl Freeze for FeeByVolume
impl RefUnwindSafe for FeeByVolume
impl Send for FeeByVolume
impl Sync for FeeByVolume
impl Unpin for FeeByVolume
impl UnwindSafe for FeeByVolume
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