pub struct PrivateGetBalanceSnapshotResponse {
pub accounts: PrivateGetBalanceSnapshotResponseAccounts,
pub currency: Currency,
pub custody: f64,
pub pnl: f64,
pub signature: Option<String>,
pub signature_payload: Option<String>,
pub signed_at: Option<i64>,
pub total_equity: f64,
}Fields§
§accounts: PrivateGetBalanceSnapshotResponseAccounts§currency: Currency§custody: f64§pnl: f64§signature: Option<String>§signature_payload: Option<String>§signed_at: Option<i64>§total_equity: f64Trait Implementations§
Source§impl Clone for PrivateGetBalanceSnapshotResponse
impl Clone for PrivateGetBalanceSnapshotResponse
Source§fn clone(&self) -> PrivateGetBalanceSnapshotResponse
fn clone(&self) -> PrivateGetBalanceSnapshotResponse
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 Default for PrivateGetBalanceSnapshotResponse
impl Default for PrivateGetBalanceSnapshotResponse
Source§fn default() -> PrivateGetBalanceSnapshotResponse
fn default() -> PrivateGetBalanceSnapshotResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateGetBalanceSnapshotResponse
impl<'de> Deserialize<'de> for PrivateGetBalanceSnapshotResponse
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 PrivateGetBalanceSnapshotResponse
impl PartialEq for PrivateGetBalanceSnapshotResponse
Source§fn eq(&self, other: &PrivateGetBalanceSnapshotResponse) -> bool
fn eq(&self, other: &PrivateGetBalanceSnapshotResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateGetBalanceSnapshotResponse
Auto Trait Implementations§
impl Freeze for PrivateGetBalanceSnapshotResponse
impl RefUnwindSafe for PrivateGetBalanceSnapshotResponse
impl Send for PrivateGetBalanceSnapshotResponse
impl Sync for PrivateGetBalanceSnapshotResponse
impl Unpin for PrivateGetBalanceSnapshotResponse
impl UnwindSafe for PrivateGetBalanceSnapshotResponse
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