[][src]Struct ib::models::Ledger

pub struct Ledger { /* fields omitted */ }

Methods

impl Ledger
[src]

pub fn new() -> Ledger
[src]

pub fn set_commoditymarketvalue(&mut self, commoditymarketvalue: f32)
[src]

pub fn with_commoditymarketvalue(self, commoditymarketvalue: f32) -> Ledger
[src]

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

pub fn reset_commoditymarketvalue(&mut self)
[src]

pub fn set_futuremarketvalue(&mut self, futuremarketvalue: f32)
[src]

pub fn with_futuremarketvalue(self, futuremarketvalue: f32) -> Ledger
[src]

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

pub fn reset_futuremarketvalue(&mut self)
[src]

pub fn set_settledcash(&mut self, settledcash: f32)
[src]

pub fn with_settledcash(self, settledcash: f32) -> Ledger
[src]

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

pub fn reset_settledcash(&mut self)
[src]

pub fn set_exchangerate(&mut self, exchangerate: f32)
[src]

pub fn with_exchangerate(self, exchangerate: f32) -> Ledger
[src]

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

pub fn reset_exchangerate(&mut self)
[src]

pub fn set_sessionid(&mut self, sessionid: i32)
[src]

pub fn with_sessionid(self, sessionid: i32) -> Ledger
[src]

pub fn sessionid(&self) -> Option<&i32>
[src]

pub fn reset_sessionid(&mut self)
[src]

pub fn set_cashbalance(&mut self, cashbalance: f32)
[src]

pub fn with_cashbalance(self, cashbalance: f32) -> Ledger
[src]

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

pub fn reset_cashbalance(&mut self)
[src]

pub fn set_corporatebondsmarketvalue(&mut self, corporatebondsmarketvalue: f32)
[src]

pub fn with_corporatebondsmarketvalue(
    self,
    corporatebondsmarketvalue: f32
) -> Ledger
[src]

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

pub fn reset_corporatebondsmarketvalue(&mut self)
[src]

pub fn set_warrantsmarketvalue(&mut self, warrantsmarketvalue: f32)
[src]

pub fn with_warrantsmarketvalue(self, warrantsmarketvalue: f32) -> Ledger
[src]

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

pub fn reset_warrantsmarketvalue(&mut self)
[src]

pub fn set_netliquidationvalue(&mut self, netliquidationvalue: f32)
[src]

pub fn with_netliquidationvalue(self, netliquidationvalue: f32) -> Ledger
[src]

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

pub fn reset_netliquidationvalue(&mut self)
[src]

pub fn set_interest(&mut self, interest: f32)
[src]

pub fn with_interest(self, interest: f32) -> Ledger
[src]

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

pub fn reset_interest(&mut self)
[src]

pub fn set_unrealizedpnl(&mut self, unrealizedpnl: f32)
[src]

pub fn with_unrealizedpnl(self, unrealizedpnl: f32) -> Ledger
[src]

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

pub fn reset_unrealizedpnl(&mut self)
[src]

pub fn set_stockmarketvalue(&mut self, stockmarketvalue: f32)
[src]

pub fn with_stockmarketvalue(self, stockmarketvalue: f32) -> Ledger
[src]

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

pub fn reset_stockmarketvalue(&mut self)
[src]

pub fn set_moneyfunds(&mut self, moneyfunds: f32)
[src]

pub fn with_moneyfunds(self, moneyfunds: f32) -> Ledger
[src]

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

pub fn reset_moneyfunds(&mut self)
[src]

pub fn set_currency(&mut self, currency: String)
[src]

pub fn with_currency(self, currency: String) -> Ledger
[src]

pub fn currency(&self) -> Option<&String>
[src]

pub fn reset_currency(&mut self)
[src]

pub fn set_realizedpnl(&mut self, realizedpnl: f32)
[src]

pub fn with_realizedpnl(self, realizedpnl: f32) -> Ledger
[src]

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

pub fn reset_realizedpnl(&mut self)
[src]

pub fn set_funds(&mut self, funds: f32)
[src]

pub fn with_funds(self, funds: f32) -> Ledger
[src]

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

pub fn reset_funds(&mut self)
[src]

pub fn set_acctcode(&mut self, acctcode: String)
[src]

pub fn with_acctcode(self, acctcode: String) -> Ledger
[src]

pub fn acctcode(&self) -> Option<&String>
[src]

pub fn reset_acctcode(&mut self)
[src]

pub fn set_issueroptionsmarketvalue(&mut self, issueroptionsmarketvalue: f32)
[src]

pub fn with_issueroptionsmarketvalue(
    self,
    issueroptionsmarketvalue: f32
) -> Ledger
[src]

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

pub fn reset_issueroptionsmarketvalue(&mut self)
[src]

pub fn set_key(&mut self, key: String)
[src]

pub fn with_key(self, key: String) -> Ledger
[src]

pub fn key(&self) -> Option<&String>
[src]

pub fn reset_key(&mut self)
[src]

pub fn set_timestamp(&mut self, timestamp: i32)
[src]

pub fn with_timestamp(self, timestamp: i32) -> Ledger
[src]

pub fn timestamp(&self) -> Option<&i32>
[src]

pub fn reset_timestamp(&mut self)
[src]

pub fn set_severity(&mut self, severity: i32)
[src]

pub fn with_severity(self, severity: i32) -> Ledger
[src]

pub fn severity(&self) -> Option<&i32>
[src]

pub fn reset_severity(&mut self)
[src]

Trait Implementations

impl Debug for Ledger
[src]

impl Serialize for Ledger
[src]

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

Auto Trait Implementations

impl Send for Ledger

impl Sync for Ledger

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> Any for T where
    T: 'static + ?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> Erased for T

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