pub struct CoinbaseLimitOrder {
pub base_size: SmartString,
pub limit_price: SmartString,
pub post_only: Option<bool>,
}Expand description
Limit order configuration
Fields§
§base_size: SmartStringSize of the order in base currency
limit_price: SmartStringPrice at which the order should be executed
post_only: Option<bool>Whether the order should only be posted (not immediately filled)
Trait Implementations§
Source§impl Clone for CoinbaseLimitOrder
impl Clone for CoinbaseLimitOrder
Source§fn clone(&self) -> CoinbaseLimitOrder
fn clone(&self) -> CoinbaseLimitOrder
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 CoinbaseLimitOrder
impl Debug for CoinbaseLimitOrder
Source§impl<'de> Deserialize<'de> for CoinbaseLimitOrder
impl<'de> Deserialize<'de> for CoinbaseLimitOrder
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 CoinbaseLimitOrder
impl RefUnwindSafe for CoinbaseLimitOrder
impl Send for CoinbaseLimitOrder
impl Sync for CoinbaseLimitOrder
impl Unpin for CoinbaseLimitOrder
impl UnwindSafe for CoinbaseLimitOrder
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