pub struct DepoLimit {
pub ticker: Option<String>,
pub class_code: Option<String>,
pub exchange: Option<String>,
pub average_price: Option<Decimal>,
pub quantity: Option<Quantity>,
pub quantity_batch: Option<Quantity>,
pub instrument_type: Option<String>,
}Expand description
A securities position in the limits.
Fields§
§ticker: Option<String>Ticker.
class_code: Option<String>Class code (board).
exchange: Option<String>Exchange code.
average_price: Option<Decimal>Weighted average price at which the position was opened.
quantity: Option<Quantity>Quantity in pieces, with the settlement mode.
quantity_batch: Option<Quantity>Quantity in lots, with the settlement mode.
instrument_type: Option<String>Instrument type as the broker names it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepoLimit
impl<'de> Deserialize<'de> for DepoLimit
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 DepoLimit
impl RefUnwindSafe for DepoLimit
impl Send for DepoLimit
impl Sync for DepoLimit
impl Unpin for DepoLimit
impl UnsafeUnpin for DepoLimit
impl UnwindSafe for DepoLimit
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