pub struct DwacInstruction {
pub account_id: String,
pub account_title: Option<String>,
pub client_instruction_id: f64,
pub contra_broker_account_id: String,
pub contra_broker_tax_id: String,
pub direction: String,
pub quantity: f64,
pub reference_id: Option<String>,
pub trading_instrument: TradingInstrument,
}Fields§
§account_id: String- Example:
"U46377".to_string()
account_title: Option<String>- Example:
Some("Title".to_string())
client_instruction_id: f64- Example:
1012983.0
contra_broker_account_id: String- Example:
"12345678A".to_string()
contra_broker_tax_id: String- Example:
"123456789".to_string()
direction: String- Example:
"IN".to_string()
quantity: f64- Example:
1000.0
reference_id: Option<String>- Example:
Some("refId".to_string())
trading_instrument: TradingInstrumentTrait Implementations§
Source§impl Clone for DwacInstruction
impl Clone for DwacInstruction
Source§fn clone(&self) -> DwacInstruction
fn clone(&self) -> DwacInstruction
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 DwacInstruction
impl Debug for DwacInstruction
Source§impl Default for DwacInstruction
impl Default for DwacInstruction
Source§impl PartialEq for DwacInstruction
impl PartialEq for DwacInstruction
Source§impl Serialize for DwacInstruction
impl Serialize for DwacInstruction
Source§impl Validate for DwacInstruction
impl Validate for DwacInstruction
Source§impl<'v_a> ValidateArgs<'v_a> for DwacInstruction
impl<'v_a> ValidateArgs<'v_a> for DwacInstruction
impl StructuralPartialEq for DwacInstruction
Auto Trait Implementations§
impl Freeze for DwacInstruction
impl RefUnwindSafe for DwacInstruction
impl Send for DwacInstruction
impl Sync for DwacInstruction
impl Unpin for DwacInstruction
impl UnsafeUnpin for DwacInstruction
impl UnwindSafe for DwacInstruction
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