pub struct InternalPositionTransferInstruction {
pub client_instruction_id: f64,
pub settle_date: Option<String>,
pub source_account_id: String,
pub target_account_id: String,
pub trade_date: Option<String>,
pub trading_instrument: TradingInstrument,
pub transfer_price: Option<f64>,
pub transfer_quantity: f64,
}Fields§
§client_instruction_id: f64- Example:
1012983.0
settle_date: Option<String>If settleDate is provided then tradeDate is also required
- Example:
Some("2025-02-25".to_string())
source_account_id: String- Example:
"U46377".to_string()
target_account_id: String- Example:
"U463756".to_string()
trade_date: Option<String>If tradeDate is provided then settleDate is also required
- Example:
Some("2025-02-17".to_string())
trading_instrument: TradingInstrument§transfer_price: Option<f64>If transferPrice is provided then tradeDate and settleDate are also required
- Example:
Some(123.0)Validation: Must be a multiple of 1e-9
transfer_quantity: f64- Example:
100.0
Trait Implementations§
Source§impl Clone for InternalPositionTransferInstruction
impl Clone for InternalPositionTransferInstruction
Source§fn clone(&self) -> InternalPositionTransferInstruction
fn clone(&self) -> InternalPositionTransferInstruction
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 PartialEq for InternalPositionTransferInstruction
impl PartialEq for InternalPositionTransferInstruction
Source§fn eq(&self, other: &InternalPositionTransferInstruction) -> bool
fn eq(&self, other: &InternalPositionTransferInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'v_a> ValidateArgs<'v_a> for InternalPositionTransferInstruction
impl<'v_a> ValidateArgs<'v_a> for InternalPositionTransferInstruction
impl StructuralPartialEq for InternalPositionTransferInstruction
Auto Trait Implementations§
impl Freeze for InternalPositionTransferInstruction
impl RefUnwindSafe for InternalPositionTransferInstruction
impl Send for InternalPositionTransferInstruction
impl Sync for InternalPositionTransferInstruction
impl Unpin for InternalPositionTransferInstruction
impl UnsafeUnpin for InternalPositionTransferInstruction
impl UnwindSafe for InternalPositionTransferInstruction
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