pub struct TradeSyncCall {
pub fills: Vec<Fill>,
pub current_price: Option<Decimal>,
pub stop_bot: bool,
pub stop_reason: String,
pub timestamp: i64,
}Expand description
Recorded trade-sync call for assertions.
Fields§
§fills: Vec<Fill>Fills sent to the syncer.
current_price: Option<Decimal>Current market price sent with the sync.
stop_bot: boolWhether this was a shutdown sync.
stop_reason: StringStop reason for shutdown syncs.
timestamp: i64Sync timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for TradeSyncCall
impl Clone for TradeSyncCall
Source§fn clone(&self) -> TradeSyncCall
fn clone(&self) -> TradeSyncCall
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 moreAuto Trait Implementations§
impl Freeze for TradeSyncCall
impl RefUnwindSafe for TradeSyncCall
impl Send for TradeSyncCall
impl Sync for TradeSyncCall
impl Unpin for TradeSyncCall
impl UnsafeUnpin for TradeSyncCall
impl UnwindSafe for TradeSyncCall
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