pub struct CreateOrderAction {
pub side: String,
pub price: String,
pub quantity: String,
pub order_type: Value,
}Expand description
A CreateOrder action payload.
Fields§
§side: String§price: String§quantity: String§order_type: ValueTrait Implementations§
Source§impl Clone for CreateOrderAction
impl Clone for CreateOrderAction
Source§fn clone(&self) -> CreateOrderAction
fn clone(&self) -> CreateOrderAction
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 CreateOrderAction
impl Debug for CreateOrderAction
Source§impl<'de> Deserialize<'de> for CreateOrderAction
impl<'de> Deserialize<'de> for CreateOrderAction
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 CreateOrderAction
impl RefUnwindSafe for CreateOrderAction
impl Send for CreateOrderAction
impl Sync for CreateOrderAction
impl Unpin for CreateOrderAction
impl UnwindSafe for CreateOrderAction
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