pub struct MoneyLimitEntry {
pub exchange: Option<String>,
pub currency: Option<String>,
pub locked: Option<Decimal>,
pub average_price: Option<Decimal>,
pub instrument_type: Option<String>,
pub quantity: Option<Quantity>,
pub load_date: Option<String>,
}Expand description
A money balance in a limits frame (moneyLimits).
Fields§
§exchange: Option<String>Exchange code.
currency: Option<String>Currency code (JSON field currencyCode).
locked: Option<Decimal>Money held by active orders.
average_price: Option<Decimal>Weighted average opening price.
instrument_type: Option<String>Instrument type as the broker names it.
quantity: Option<Quantity>Amount of money, with the settlement mode.
load_date: Option<String>Time the broker updated the data, kept as text.
Trait Implementations§
Source§impl Clone for MoneyLimitEntry
impl Clone for MoneyLimitEntry
Source§fn clone(&self) -> MoneyLimitEntry
fn clone(&self) -> MoneyLimitEntry
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 moreSource§impl Debug for MoneyLimitEntry
impl Debug for MoneyLimitEntry
Source§impl<'de> Deserialize<'de> for MoneyLimitEntry
impl<'de> Deserialize<'de> for MoneyLimitEntry
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
Auto Trait Implementations§
impl Freeze for MoneyLimitEntry
impl RefUnwindSafe for MoneyLimitEntry
impl Send for MoneyLimitEntry
impl Sync for MoneyLimitEntry
impl Unpin for MoneyLimitEntry
impl UnsafeUnpin for MoneyLimitEntry
impl UnwindSafe for MoneyLimitEntry
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