[][src]Struct ib::models::AllocationInnerSectorShort

pub struct AllocationInnerSectorShort { /* fields omitted */ }

Methods

impl AllocationInnerSectorShort
[src]

pub fn new() -> AllocationInnerSectorShort
[src]

short positions allocation

pub fn set_industrial(&mut self, industrial: f32)
[src]

pub fn with_industrial(self, industrial: f32) -> AllocationInnerSectorShort
[src]

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

pub fn reset_industrial(&mut self)
[src]

pub fn set_consumer(&mut self, consumer: f32)
[src]

pub fn with_consumer(self, consumer: f32) -> AllocationInnerSectorShort
[src]

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

pub fn reset_consumer(&mut self)
[src]

pub fn set_diversified(&mut self, diversified: f32)
[src]

pub fn with_diversified(self, diversified: f32) -> AllocationInnerSectorShort
[src]

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

pub fn reset_diversified(&mut self)
[src]

Trait Implementations

impl Debug for AllocationInnerSectorShort
[src]

impl Serialize for AllocationInnerSectorShort
[src]

impl<'de> Deserialize<'de> for AllocationInnerSectorShort
[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]