Struct crypto_markets::QuantityLimit
source · pub struct QuantityLimit {
pub min: Option<f64>,
pub max: Option<f64>,
pub notional_min: Option<f64>,
pub notional_max: Option<f64>,
}
Fields§
§min: Option<f64>
Minimum base quantity
max: Option<f64>
Maximum base quantity
notional_min: Option<f64>
Notional minimum size
notional_max: Option<f64>
Notional maximum size
Trait Implementations§
source§impl Clone for QuantityLimit
impl Clone for QuantityLimit
source§fn clone(&self) -> QuantityLimit
fn clone(&self) -> QuantityLimit
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<'de> Deserialize<'de> for QuantityLimit
impl<'de> Deserialize<'de> for QuantityLimit
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<QuantityLimit> for QuantityLimit
impl PartialEq<QuantityLimit> for QuantityLimit
source§fn eq(&self, other: &QuantityLimit) -> bool
fn eq(&self, other: &QuantityLimit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.