pub struct LimitOrder {
pub symbol: Arc<str>,
pub is_buy: bool,
pub price: f64,
pub size: f64,
pub tif: TimeInForce,
pub reduce_only: bool,
pub iso: bool,
pub meta: ActionMeta,
}Fields§
§symbol: Arc<str>§is_buy: bool§price: f64§size: f64§tif: TimeInForce§reduce_only: bool§iso: bool§meta: ActionMetaImplementations§
Trait Implementations§
Source§impl Clone for LimitOrder
impl Clone for LimitOrder
Source§fn clone(&self) -> LimitOrder
fn clone(&self) -> LimitOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LimitOrder
impl Debug for LimitOrder
Source§impl<'de> Deserialize<'de> for LimitOrder
impl<'de> Deserialize<'de> for LimitOrder
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 From<LimitOrder> for Action
impl From<LimitOrder> for Action
Source§fn from(o: LimitOrder) -> Self
fn from(o: LimitOrder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LimitOrder
impl RefUnwindSafe for LimitOrder
impl Send for LimitOrder
impl Sync for LimitOrder
impl Unpin for LimitOrder
impl UnsafeUnpin for LimitOrder
impl UnwindSafe for LimitOrder
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