pub struct SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation {
pub account: Option<String>,
pub amount: Option<f64>,
}Fields§
§account: Option<String>Account to allocate trades to.
amount: Option<f64>Allocation to the given account based on the alloc_type.
Trait Implementations§
Source§impl Clone for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl Clone for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
Source§fn clone(
&self,
) -> SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
fn clone( &self, ) -> SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
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 SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl PartialEq for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
Source§fn eq(
&self,
other: &SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation,
) -> bool
fn eq( &self, other: &SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
Auto Trait Implementations§
impl Freeze for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl RefUnwindSafe for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl Send for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl Sync for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl Unpin for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl UnsafeUnpin for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
impl UnwindSafe for SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
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