pub struct AllocationGroupsDatum {
pub allocation_method: Option<AllocationMethod>,
pub name: Option<String>,
pub size: Option<i32>,
}Fields§
§allocation_method: Option<AllocationMethod>Interactive Brokers supports two forms of allocation methods. Allocation methods that have calculations completed by Interactive Brokers, and a set of allocation methods calculated by the user and then specified. IB-computed allocation methods:
A- Available EquityE- EqualN- Net Liquidation Value
User-specified allocation methods:
C- Cash QuantityP- PercentageR- RatiosS- Shares
name: Option<String>The name set for the given allocation group.
size: Option<i32>Represents the total number of sub-accounts within the group.
Trait Implementations§
Source§impl Clone for AllocationGroupsDatum
impl Clone for AllocationGroupsDatum
Source§fn clone(&self) -> AllocationGroupsDatum
fn clone(&self) -> AllocationGroupsDatum
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 AllocationGroupsDatum
impl Debug for AllocationGroupsDatum
Source§impl Default for AllocationGroupsDatum
impl Default for AllocationGroupsDatum
Source§impl<'de> Deserialize<'de> for AllocationGroupsDatumwhere
AllocationGroupsDatum: Default,
impl<'de> Deserialize<'de> for AllocationGroupsDatumwhere
AllocationGroupsDatum: Default,
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 AllocationGroupsDatum
impl PartialEq for AllocationGroupsDatum
impl StructuralPartialEq for AllocationGroupsDatum
Auto Trait Implementations§
impl Freeze for AllocationGroupsDatum
impl RefUnwindSafe for AllocationGroupsDatum
impl Send for AllocationGroupsDatum
impl Sync for AllocationGroupsDatum
impl Unpin for AllocationGroupsDatum
impl UnsafeUnpin for AllocationGroupsDatum
impl UnwindSafe for AllocationGroupsDatum
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