pub struct TradeConfirm {
pub account_id: String,
pub exec_id: String,
pub order_id: Option<String>,
pub trade_date: NaiveDate,
pub trade_time: Option<String>,
pub symbol: String,
pub asset_category: AssetCategory,
pub quantity: Decimal,
pub price: Decimal,
}Expand description
Trade confirmation
Fields§
§account_id: StringAccount ID
exec_id: StringExecution ID
order_id: Option<String>Order ID
trade_date: NaiveDateTrade date
trade_time: Option<String>Trade time
symbol: StringSymbol
asset_category: AssetCategoryAsset category
quantity: DecimalQuantity
price: DecimalPrice
Trait Implementations§
Source§impl Clone for TradeConfirm
impl Clone for TradeConfirm
Source§fn clone(&self) -> TradeConfirm
fn clone(&self) -> TradeConfirm
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 Debug for TradeConfirm
impl Debug for TradeConfirm
Source§impl<'de> Deserialize<'de> for TradeConfirm
impl<'de> Deserialize<'de> for TradeConfirm
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 TradeConfirm
impl PartialEq for TradeConfirm
Source§impl Serialize for TradeConfirm
impl Serialize for TradeConfirm
impl StructuralPartialEq for TradeConfirm
Auto Trait Implementations§
impl Freeze for TradeConfirm
impl RefUnwindSafe for TradeConfirm
impl Send for TradeConfirm
impl Sync for TradeConfirm
impl Unpin for TradeConfirm
impl UnwindSafe for TradeConfirm
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