pub struct SpotNotionalFilter {
pub filter_type: BinanceFilterType,
pub min_notional: String,
pub apply_min_to_market: Option<bool>,
pub max_notional: Option<String>,
pub apply_max_to_market: Option<bool>,
pub avg_price_mins: Option<i64>,
}Expand description
Notional filter for spot instruments.
§References
Fields§
§filter_type: BinanceFilterTypeFilter type identifier.
min_notional: StringMinimum notional value.
apply_min_to_market: Option<bool>Apply minimum to market orders.
max_notional: Option<String>Maximum notional value.
apply_max_to_market: Option<bool>Apply maximum to market orders.
avg_price_mins: Option<i64>Average price in minutes.
Trait Implementations§
Source§impl Clone for SpotNotionalFilter
impl Clone for SpotNotionalFilter
Source§fn clone(&self) -> SpotNotionalFilter
fn clone(&self) -> SpotNotionalFilter
Returns a duplicate 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 SpotNotionalFilter
impl Debug for SpotNotionalFilter
Source§impl<'de> Deserialize<'de> for SpotNotionalFilter
impl<'de> Deserialize<'de> for SpotNotionalFilter
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
Auto Trait Implementations§
impl Freeze for SpotNotionalFilter
impl RefUnwindSafe for SpotNotionalFilter
impl Send for SpotNotionalFilter
impl Sync for SpotNotionalFilter
impl Unpin for SpotNotionalFilter
impl UnsafeUnpin for SpotNotionalFilter
impl UnwindSafe for SpotNotionalFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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