pub struct CoinbaseStopLimitOrder {
pub base_size: SmartString,
pub limit_price: SmartString,
pub stop_price: SmartString,
pub stop_direction: SmartString,
}Expand description
Stop limit order configuration
Fields§
§base_size: SmartStringSize of the order in base currency
limit_price: SmartStringPrice at which the order should be executed when triggered
stop_price: SmartStringPrice at which the stop order is triggered
stop_direction: SmartStringDirection of the stop: “STOP_DIRECTION_STOP_UP” or “STOP_DIRECTION_STOP_DOWN”
Trait Implementations§
Source§impl Clone for CoinbaseStopLimitOrder
impl Clone for CoinbaseStopLimitOrder
Source§fn clone(&self) -> CoinbaseStopLimitOrder
fn clone(&self) -> CoinbaseStopLimitOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoinbaseStopLimitOrder
impl Debug for CoinbaseStopLimitOrder
Source§impl<'de> Deserialize<'de> for CoinbaseStopLimitOrder
impl<'de> Deserialize<'de> for CoinbaseStopLimitOrder
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 CoinbaseStopLimitOrder
impl RefUnwindSafe for CoinbaseStopLimitOrder
impl Send for CoinbaseStopLimitOrder
impl Sync for CoinbaseStopLimitOrder
impl Unpin for CoinbaseStopLimitOrder
impl UnwindSafe for CoinbaseStopLimitOrder
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