pub enum PlatformOrderCommandBatchEvent {
ProbeResult {
request_id: String,
nonce: String,
},
ChallengeResult {
request_id: String,
self_trade_prevention: PlatformSelfTradePrevention,
prevented_order_ids: Vec<String>,
effective_request: PlatformOrderChallengeRequest,
response: PlatformOrderChallengeResponse,
},
PrepareResult {
request_id: String,
response: PlatformOrderPrepareResponse,
},
SubmitResult {
request_id: String,
response: PlatformOrderSubmitResponse,
},
StatusResult {
request_id: String,
response: PlatformOrderStatusResponse,
},
DeadManResult {
request_id: String,
state: PlatformDeadManState,
},
CommandError {
request_id: String,
error: PublicOperationError,
},
Heartbeat,
}Expand description
One result inside a compact event batch. Shared stream identity, time and sequence metadata live on the enclosing frame; request correlation and command-specific results remain independent.
Variants§
ProbeResult
ChallengeResult
Fields
§
self_trade_prevention: PlatformSelfTradePrevention§
effective_request: PlatformOrderChallengeRequest§
response: PlatformOrderChallengeResponsePrepareResult
SubmitResult
StatusResult
DeadManResult
CommandError
Heartbeat
Trait Implementations§
Source§impl Clone for PlatformOrderCommandBatchEvent
impl Clone for PlatformOrderCommandBatchEvent
Source§fn clone(&self) -> PlatformOrderCommandBatchEvent
fn clone(&self) -> PlatformOrderCommandBatchEvent
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<'de> Deserialize<'de> for PlatformOrderCommandBatchEvent
impl<'de> Deserialize<'de> for PlatformOrderCommandBatchEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommandBatchEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformOrderCommandBatchEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformOrderCommandBatchEvent
Source§impl Serialize for PlatformOrderCommandBatchEvent
impl Serialize for PlatformOrderCommandBatchEvent
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 PlatformOrderCommandBatchEvent
Auto Trait Implementations§
impl Freeze for PlatformOrderCommandBatchEvent
impl RefUnwindSafe for PlatformOrderCommandBatchEvent
impl Send for PlatformOrderCommandBatchEvent
impl Sync for PlatformOrderCommandBatchEvent
impl Unpin for PlatformOrderCommandBatchEvent
impl UnsafeUnpin for PlatformOrderCommandBatchEvent
impl UnwindSafe for PlatformOrderCommandBatchEvent
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