pub enum PlatformOrderCommand {
Probe {
nonce: String,
},
Challenge {
request: PlatformOrderChallengeRequest,
self_trade_prevention: PlatformSelfTradePrevention,
},
Prepare {
request: PlatformOrderPrepareRequest,
},
Submit {
request: PlatformOrderSubmitRequest,
},
Status {
request: PlatformOrderStatusRequest,
},
DeadManArm {
timeout_ms: u64,
request: PlatformOrderSubmitRequest,
},
DeadManStatus,
DeadManHeartbeat,
DeadManDisarm,
}Expand description
One command on the persistent order-control connection. Challenge results may contain an effective request that differs from the requested one only by the explicitly selected self-trade prevention transformation.
Variants§
Probe
Authenticated non-trading round trip used for latency certification.
Challenge
Prepare
Fields
§
request: PlatformOrderPrepareRequestSubmit
Fields
§
request: PlatformOrderSubmitRequestStatus
Fields
§
request: PlatformOrderStatusRequestDeadManArm
DeadManStatus
DeadManHeartbeat
DeadManDisarm
Trait Implementations§
Source§impl Clone for PlatformOrderCommand
impl Clone for PlatformOrderCommand
Source§fn clone(&self) -> PlatformOrderCommand
fn clone(&self) -> PlatformOrderCommand
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 PlatformOrderCommand
impl Debug for PlatformOrderCommand
Source§impl<'de> Deserialize<'de> for PlatformOrderCommand
impl<'de> Deserialize<'de> for PlatformOrderCommand
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommand, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformOrderCommand
Source§impl PartialEq for PlatformOrderCommand
impl PartialEq for PlatformOrderCommand
Source§impl Serialize for PlatformOrderCommand
impl Serialize for PlatformOrderCommand
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformOrderCommand
Auto Trait Implementations§
impl Freeze for PlatformOrderCommand
impl RefUnwindSafe for PlatformOrderCommand
impl Send for PlatformOrderCommand
impl Sync for PlatformOrderCommand
impl Unpin for PlatformOrderCommand
impl UnsafeUnpin for PlatformOrderCommand
impl UnwindSafe for PlatformOrderCommand
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