pub struct AccountSyncResult {
pub success: bool,
pub pnl: Option<f64>,
}Expand description
Common result for account sync operations
Fields§
§success: boolWhether the sync succeeded.
pnl: Option<f64>Upstream-calculated PnL, if returned.
Trait Implementations§
Source§impl Clone for AccountSyncResult
impl Clone for AccountSyncResult
Source§fn clone(&self) -> AccountSyncResult
fn clone(&self) -> AccountSyncResult
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 AccountSyncResult
impl RefUnwindSafe for AccountSyncResult
impl Send for AccountSyncResult
impl Sync for AccountSyncResult
impl Unpin for AccountSyncResult
impl UnsafeUnpin for AccountSyncResult
impl UnwindSafe for AccountSyncResult
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