pub enum OrderExecuteOperation {
Place {
owner_wallet: String,
account_sequence: Option<String>,
client_order_id: String,
side: PlatformTradeSide,
order_type: PlatformOrderType,
limit_price_atoms: String,
size_atoms: String,
},
Cancel {
owner_wallet: String,
order_id: String,
},
CancelAll {
owner_wallet: String,
},
Replace {
owner_wallet: String,
order_id: String,
account_sequence: Option<String>,
client_order_id: String,
side: PlatformTradeSide,
order_type: PlatformOrderType,
limit_price_atoms: String,
size_atoms: String,
},
Batch {
owner_wallet: String,
operations: Vec<PlatformOrderBatchOperation>,
},
}Variants§
Place
Fields
§
account_sequence: Option<String>Vault market account sequence. None lets Strata resolve the next
sequence from the Vault’s confirmed market account when the
transaction is prepared.
§
side: PlatformTradeSide§
order_type: PlatformOrderTypeCancel
CancelAll
Replace
Batch
Trait Implementations§
Source§impl Clone for OrderExecuteOperation
impl Clone for OrderExecuteOperation
Source§fn clone(&self) -> OrderExecuteOperation
fn clone(&self) -> OrderExecuteOperation
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 OrderExecuteOperation
impl Debug for OrderExecuteOperation
impl Eq for OrderExecuteOperation
Source§impl PartialEq for OrderExecuteOperation
impl PartialEq for OrderExecuteOperation
impl StructuralPartialEq for OrderExecuteOperation
Auto Trait Implementations§
impl Freeze for OrderExecuteOperation
impl RefUnwindSafe for OrderExecuteOperation
impl Send for OrderExecuteOperation
impl Sync for OrderExecuteOperation
impl Unpin for OrderExecuteOperation
impl UnsafeUnpin for OrderExecuteOperation
impl UnwindSafe for OrderExecuteOperation
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