[][src]Struct ib::models::AllocationInnerGroupShort

pub struct AllocationInnerGroupShort { /* fields omitted */ }

Methods

impl AllocationInnerGroupShort
[src]

pub fn new() -> AllocationInnerGroupShort
[src]

short positions allocation

pub fn set_banks(&mut self, banks: f32)
[src]

pub fn with_banks(self, banks: f32) -> AllocationInnerGroupShort
[src]

pub fn banks(&self) -> Option<&f32>
[src]

pub fn reset_banks(&mut self)
[src]

pub fn set_airlines(&mut self, airlines: f32)
[src]

pub fn with_airlines(self, airlines: f32) -> AllocationInnerGroupShort
[src]

pub fn airlines(&self) -> Option<&f32>
[src]

pub fn reset_airlines(&mut self)
[src]

pub fn set_internet(&mut self, internet: f32)
[src]

pub fn with_internet(self, internet: f32) -> AllocationInnerGroupShort
[src]

pub fn internet(&self) -> Option<&f32>
[src]

pub fn reset_internet(&mut self)
[src]

Trait Implementations

impl Debug for AllocationInnerGroupShort
[src]

impl Serialize for AllocationInnerGroupShort
[src]

impl<'de> Deserialize<'de> for AllocationInnerGroupShort
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]