pub struct ConditionalParams {
pub order_type: Option<OrderType>,
pub limit_price: Option<Decimal>,
pub limit_price_type: Option<PriceType>,
pub trigger_price: Option<Decimal>,
pub trigger_price_type: Option<PriceType>,
}
Fields§
§order_type: Option<OrderType>
§limit_price: Option<Decimal>
§limit_price_type: Option<PriceType>
§trigger_price: Option<Decimal>
§trigger_price_type: Option<PriceType>
Trait Implementations§
Source§impl Debug for ConditionalParams
impl Debug for ConditionalParams
Source§impl<'de> Deserialize<'de> for ConditionalParams
impl<'de> Deserialize<'de> for ConditionalParams
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 ConditionalParams
impl PartialEq for ConditionalParams
Source§impl Serialize for ConditionalParams
impl Serialize for ConditionalParams
impl Eq for ConditionalParams
impl StructuralPartialEq for ConditionalParams
Auto Trait Implementations§
impl Freeze for ConditionalParams
impl RefUnwindSafe for ConditionalParams
impl Send for ConditionalParams
impl Sync for ConditionalParams
impl Unpin for ConditionalParams
impl UnwindSafe for ConditionalParams
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.