pub enum BacktestEvent {
Snapshot {
status: BacktestStatusResponse,
},
Heartbeat {
job_id: String,
elapsed_ms: u64,
},
}Expand description
Server-streamed retained-job status and liveness events.
Variants§
Trait Implementations§
Source§impl Clone for BacktestEvent
impl Clone for BacktestEvent
Source§fn clone(&self) -> BacktestEvent
fn clone(&self) -> BacktestEvent
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 BacktestEvent
impl Debug for BacktestEvent
Source§impl<'de> Deserialize<'de> for BacktestEvent
impl<'de> Deserialize<'de> for BacktestEvent
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 BacktestEvent
Source§impl PartialEq for BacktestEvent
impl PartialEq for BacktestEvent
Source§impl Serialize for BacktestEvent
impl Serialize for BacktestEvent
impl StructuralPartialEq for BacktestEvent
Auto Trait Implementations§
impl Freeze for BacktestEvent
impl RefUnwindSafe for BacktestEvent
impl Send for BacktestEvent
impl Sync for BacktestEvent
impl Unpin for BacktestEvent
impl UnsafeUnpin for BacktestEvent
impl UnwindSafe for BacktestEvent
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