[−][src]Struct ib::models::Ledger
Methods
impl Ledger
[src]
impl Ledger
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( | [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( | [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 Debug for Ledger
impl Serialize for Ledger
[src]
impl Serialize for Ledger
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where | [src] |
impl<'de> Deserialize<'de> for Ledger
[src]
impl<'de> Deserialize<'de> for Ledger
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,