pub struct BinanceSymbolFilterJson {Show 13 fields
pub filter_type: String,
pub min_price: Option<String>,
pub max_price: Option<String>,
pub tick_size: Option<String>,
pub min_qty: Option<String>,
pub max_qty: Option<String>,
pub step_size: Option<String>,
pub min_notional: Option<String>,
pub max_notional: Option<String>,
pub apply_to_market: Option<bool>,
pub apply_min_to_market: Option<bool>,
pub apply_max_to_market: Option<bool>,
pub avg_price_mins: Option<u32>,
}Expand description
Spot JSON symbol filter fields used for instrument construction.
Fields§
§filter_type: StringVenue filter type.
min_price: Option<String>Minimum price.
max_price: Option<String>Maximum price.
tick_size: Option<String>Tick size.
min_qty: Option<String>Minimum quantity.
max_qty: Option<String>Maximum quantity.
step_size: Option<String>Quantity step size.
min_notional: Option<String>Minimum quote notional.
max_notional: Option<String>Maximum quote notional.
apply_to_market: Option<bool>Legacy minimum market applicability.
apply_min_to_market: Option<bool>Range minimum market applicability.
apply_max_to_market: Option<bool>Range maximum market applicability.
avg_price_mins: Option<u32>Venue average-price window in minutes.
Trait Implementations§
Source§impl Clone for BinanceSymbolFilterJson
impl Clone for BinanceSymbolFilterJson
Source§impl Debug for BinanceSymbolFilterJson
impl Debug for BinanceSymbolFilterJson
Source§impl<'de> Deserialize<'de> for BinanceSymbolFilterJson
impl<'de> Deserialize<'de> for BinanceSymbolFilterJson
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 BinanceSymbolFilterJson
impl PartialEq for BinanceSymbolFilterJson
impl StructuralPartialEq for BinanceSymbolFilterJson
Auto Trait Implementations§
impl Freeze for BinanceSymbolFilterJson
impl RefUnwindSafe for BinanceSymbolFilterJson
impl Send for BinanceSymbolFilterJson
impl Sync for BinanceSymbolFilterJson
impl Unpin for BinanceSymbolFilterJson
impl UnsafeUnpin for BinanceSymbolFilterJson
impl UnwindSafe for BinanceSymbolFilterJson
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more