pub enum TradingEvent {
EngineStarted {
id: String,
},
EngineStopped {
id: String,
reason: String,
},
TickCompleted {
symbol: String,
regime: String,
},
SignalGenerated {
signal_id: String,
symbol: String,
action: String,
},
OrderExecuted {
order_id: String,
market: String,
side: String,
price: f64,
size: f64,
},
OrderBlocked {
market: String,
reason: String,
},
RiskAlert {
message: String,
},
CircuitBreakerTripped,
AgentAdjustment {
changes: String,
},
}Variants§
EngineStarted
EngineStopped
TickCompleted
SignalGenerated
OrderExecuted
OrderBlocked
RiskAlert
CircuitBreakerTripped
AgentAdjustment
Trait Implementations§
Source§impl Clone for TradingEvent
impl Clone for TradingEvent
Source§fn clone(&self) -> TradingEvent
fn clone(&self) -> TradingEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 TradingEvent
impl Debug for TradingEvent
Source§impl<'de> Deserialize<'de> for TradingEvent
impl<'de> Deserialize<'de> for TradingEvent
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
Auto Trait Implementations§
impl Freeze for TradingEvent
impl RefUnwindSafe for TradingEvent
impl Send for TradingEvent
impl Sync for TradingEvent
impl Unpin for TradingEvent
impl UnsafeUnpin for TradingEvent
impl UnwindSafe for TradingEvent
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