pub struct PrivateChangeMarginModelResponseOldState {
pub available_balance: f64,
pub initial_margin_rate: f64,
pub maintenance_margin_rate: f64,
}Fields§
§available_balance: f64§initial_margin_rate: f64§maintenance_margin_rate: f64Trait Implementations§
Source§impl Clone for PrivateChangeMarginModelResponseOldState
impl Clone for PrivateChangeMarginModelResponseOldState
Source§fn clone(&self) -> PrivateChangeMarginModelResponseOldState
fn clone(&self) -> PrivateChangeMarginModelResponseOldState
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 PrivateChangeMarginModelResponseOldState
impl Default for PrivateChangeMarginModelResponseOldState
Source§fn default() -> PrivateChangeMarginModelResponseOldState
fn default() -> PrivateChangeMarginModelResponseOldState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateChangeMarginModelResponseOldState
impl<'de> Deserialize<'de> for PrivateChangeMarginModelResponseOldState
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 PrivateChangeMarginModelResponseOldState
impl PartialEq for PrivateChangeMarginModelResponseOldState
Source§fn eq(&self, other: &PrivateChangeMarginModelResponseOldState) -> bool
fn eq(&self, other: &PrivateChangeMarginModelResponseOldState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateChangeMarginModelResponseOldState
Auto Trait Implementations§
impl Freeze for PrivateChangeMarginModelResponseOldState
impl RefUnwindSafe for PrivateChangeMarginModelResponseOldState
impl Send for PrivateChangeMarginModelResponseOldState
impl Sync for PrivateChangeMarginModelResponseOldState
impl Unpin for PrivateChangeMarginModelResponseOldState
impl UnwindSafe for PrivateChangeMarginModelResponseOldState
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