pub struct TickMessage {
pub msg_type: &'static str,
pub tick: u64,
pub oracle_price: u64,
pub slot: u64,
pub snapshot: EngineSnapshot,
}Expand description
Sent each tick with current market state and engine snapshot.
Fields§
§msg_type: &'static str§tick: u64§oracle_price: u64§slot: u64§snapshot: EngineSnapshotImplementations§
Source§impl TickMessage
impl TickMessage
Trait Implementations§
Source§impl Clone for TickMessage
impl Clone for TickMessage
Source§fn clone(&self) -> TickMessage
fn clone(&self) -> TickMessage
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 TickMessage
impl Debug for TickMessage
Auto Trait Implementations§
impl Freeze for TickMessage
impl RefUnwindSafe for TickMessage
impl Send for TickMessage
impl Sync for TickMessage
impl Unpin for TickMessage
impl UnsafeUnpin for TickMessage
impl UnwindSafe for TickMessage
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