Struct OrderIntent
pub struct OrderIntent {
pub client_intent_id: ClientIntentId,
pub action: IntentAction,
pub target_order_id: Option<OrderId>,
pub order_type: OrderType,
pub side: Side,
pub price: Option<Price>,
pub qty: Option<Qty>,
pub reduce_only: bool,
pub time_in_force: Option<TimeInForce>,
pub tags: HashMap<String, String>,
}Fields§
§client_intent_id: ClientIntentId§action: IntentAction§target_order_id: Option<OrderId>§order_type: OrderType§side: Side§price: Option<Price>§qty: Option<Qty>§reduce_only: bool§time_in_force: Option<TimeInForce>Trait Implementations§
§impl Clone for OrderIntent
impl Clone for OrderIntent
§fn clone(&self) -> OrderIntent
fn clone(&self) -> OrderIntent
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl<'de> Deserialize<'de> for OrderIntent
impl<'de> Deserialize<'de> for OrderIntent
§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>,
§impl Serialize for OrderIntent
impl Serialize for OrderIntent
Auto Trait Implementations§
impl Freeze for OrderIntent
impl RefUnwindSafe for OrderIntent
impl Send for OrderIntent
impl Sync for OrderIntent
impl Unpin for OrderIntent
impl UnsafeUnpin for OrderIntent
impl UnwindSafe for OrderIntent
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)