pub struct AccountSyncCall {
pub account_value: Decimal,
pub unrealized_pnl: Decimal,
pub positions: Vec<PositionInfo>,
pub ts: i64,
pub stop_bot: bool,
pub stop_reason: String,
}Expand description
Recorded account-sync call for assertions.
Fields§
§account_value: DecimalAccount value sent to the syncer.
unrealized_pnl: DecimalUnrealized PnL sent to the syncer.
positions: Vec<PositionInfo>Position payload sent to the syncer.
ts: i64Sync timestamp in seconds.
stop_bot: boolWhether this was a shutdown sync.
stop_reason: StringStop reason for shutdown syncs.
Trait Implementations§
Source§impl Clone for AccountSyncCall
impl Clone for AccountSyncCall
Source§fn clone(&self) -> AccountSyncCall
fn clone(&self) -> AccountSyncCall
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 AccountSyncCall
impl RefUnwindSafe for AccountSyncCall
impl Send for AccountSyncCall
impl Sync for AccountSyncCall
impl Unpin for AccountSyncCall
impl UnsafeUnpin for AccountSyncCall
impl UnwindSafe for AccountSyncCall
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