pub struct ExecutionReport {
pub schema_version: u32,
pub intent_id: Option<TradeIntentId>,
pub command_id: Option<ExecutionCommandId>,
pub execution_venue: ExecutionVenueId,
pub instrument_id: InstrumentId,
pub event_time: DateTimeUtc,
pub received_at: DateTimeUtc,
pub venue_sequence: Option<VenueSequence>,
pub event: ExecutionEvent,
pub opaque_payload_ref: Option<OpaquePayloadRef>,
}Fields§
§schema_version: u32§intent_id: Option<TradeIntentId>§command_id: Option<ExecutionCommandId>§execution_venue: ExecutionVenueId§instrument_id: InstrumentId§event_time: DateTimeUtc§received_at: DateTimeUtc§venue_sequence: Option<VenueSequence>§event: ExecutionEvent§opaque_payload_ref: Option<OpaquePayloadRef>Implementations§
Source§impl ExecutionReport
impl ExecutionReport
pub fn new( intent_id: Option<TradeIntentId>, command_id: Option<ExecutionCommandId>, execution_venue: ExecutionVenueId, instrument_id: InstrumentId, event_time: DateTimeUtc, received_at: DateTimeUtc, venue_sequence: Option<VenueSequence>, event: ExecutionEvent, opaque_payload_ref: Option<OpaquePayloadRef>, ) -> Result<Self, ExecutionEventError>
pub fn venue_fallback_key(&self) -> VenueEventDedupKey
pub fn compare(&self, other: &Self) -> ReportComparison
Trait Implementations§
Source§impl Clone for ExecutionReport
impl Clone for ExecutionReport
Source§fn clone(&self) -> ExecutionReport
fn clone(&self) -> ExecutionReport
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 ExecutionReport
impl Debug for ExecutionReport
Source§impl<'de> Deserialize<'de> for ExecutionReport
impl<'de> Deserialize<'de> for ExecutionReport
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
impl Eq for ExecutionReport
Source§impl PartialEq for ExecutionReport
impl PartialEq for ExecutionReport
Auto Trait Implementations§
impl Freeze for ExecutionReport
impl RefUnwindSafe for ExecutionReport
impl Send for ExecutionReport
impl Sync for ExecutionReport
impl Unpin for ExecutionReport
impl UnsafeUnpin for ExecutionReport
impl UnwindSafe for ExecutionReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.