pub struct AccountChangesResponse {
pub changes: Option<AccountChanges>,
pub state: Option<AccountChangesState>,
pub last_transaction_id: Option<TransactionID>,
}Expand description
Successful response for account_changes.
Fields§
§changes: Option<AccountChanges>The changes to the Account’s Orders, Trades and Positions since the specified Transaction ID. Only provided if the sinceTransactionID is supplied to the poll request.
state: Option<AccountChangesState>The Account’s current price-dependent state.
last_transaction_id: Option<TransactionID>The ID of the last Transaction created for the Account. This Transaction ID should be used for future poll requests, as the client has already observed all changes up to and including it.
Trait Implementations§
Source§impl Clone for AccountChangesResponse
impl Clone for AccountChangesResponse
Source§impl Debug for AccountChangesResponse
impl Debug for AccountChangesResponse
Source§impl<'de> Deserialize<'de> for AccountChangesResponse
impl<'de> Deserialize<'de> for AccountChangesResponse
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
Source§impl PartialEq for AccountChangesResponse
impl PartialEq for AccountChangesResponse
Source§impl Serialize for AccountChangesResponse
impl Serialize for AccountChangesResponse
impl StructuralPartialEq for AccountChangesResponse
Auto Trait Implementations§
impl Freeze for AccountChangesResponse
impl RefUnwindSafe for AccountChangesResponse
impl Send for AccountChangesResponse
impl Sync for AccountChangesResponse
impl Unpin for AccountChangesResponse
impl UnsafeUnpin for AccountChangesResponse
impl UnwindSafe for AccountChangesResponse
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