pub struct SingleOrderSubmissionRequestJsonPayloadAllocationProfile {
pub alloc_type: Option<SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocType>,
pub allocations: Option<Vec<SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation>>,
}Expand description
The assigned contents for how the order should be allocated amongst subaccount(s).
Fields§
§alloc_type: Option<SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocType>The allocation type to define how shares should be distributed. A warning message to be pre-approved.
SHARE- Designate the allocation amounts as a quantity of shares.CASH- Designate the allocation amounts as a quantity of a cash quantity to allocate.
allocations: Option<Vec<SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation>>List of accounts to allocate a trade and the affiliated quantity.
Trait Implementations§
Source§impl Clone for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl Clone for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
Source§fn clone(&self) -> SingleOrderSubmissionRequestJsonPayloadAllocationProfile
fn clone(&self) -> SingleOrderSubmissionRequestJsonPayloadAllocationProfile
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 SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl PartialEq for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
Source§fn eq(
&self,
other: &SingleOrderSubmissionRequestJsonPayloadAllocationProfile,
) -> bool
fn eq( &self, other: &SingleOrderSubmissionRequestJsonPayloadAllocationProfile, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
Auto Trait Implementations§
impl Freeze for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl RefUnwindSafe for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl Send for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl Sync for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl Unpin for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl UnsafeUnpin for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
impl UnwindSafe for SingleOrderSubmissionRequestJsonPayloadAllocationProfile
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