pub struct MoneyLimit {
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 the limits.
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>When the broker last updated the record, kept as text.
Trait Implementations§
Source§impl Clone for MoneyLimit
impl Clone for MoneyLimit
Source§fn clone(&self) -> MoneyLimit
fn clone(&self) -> MoneyLimit
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 MoneyLimit
impl Debug for MoneyLimit
Source§impl<'de> Deserialize<'de> for MoneyLimit
impl<'de> Deserialize<'de> for MoneyLimit
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 MoneyLimit
impl RefUnwindSafe for MoneyLimit
impl Send for MoneyLimit
impl Sync for MoneyLimit
impl Unpin for MoneyLimit
impl UnsafeUnpin for MoneyLimit
impl UnwindSafe for MoneyLimit
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