pub struct SLBOpenContract {Show 41 fields
pub account_id: Option<String>,
pub acct_alias: Option<String>,
pub model: Option<String>,
pub currency: Option<String>,
pub fx_rate_to_base: Option<Decimal>,
pub description: Option<String>,
pub conid: Option<String>,
pub security_id: Option<String>,
pub cusip: Option<String>,
pub isin: Option<String>,
pub asset_category: Option<String>,
pub sub_category: Option<String>,
pub symbol: Option<String>,
pub security_id_type: Option<String>,
pub figi: Option<String>,
pub listing_exchange: Option<String>,
pub underlying_conid: Option<String>,
pub underlying_symbol: Option<String>,
pub underlying_security_id: Option<String>,
pub underlying_listing_exchange: Option<String>,
pub issuer: Option<String>,
pub issuer_country_code: Option<String>,
pub multiplier: Option<Decimal>,
pub strike: Option<Decimal>,
pub expiry: Option<NaiveDate>,
pub put_call: Option<PutCall>,
pub principal_adjust_factor: Option<Decimal>,
pub date: Option<NaiveDate>,
pub type: Option<String>,
pub slb_transaction_id: Option<String>,
pub exchange: Option<String>,
pub quantity: Option<Decimal>,
pub excess_quantity: Option<Decimal>,
pub fee_rate: Option<Decimal>,
pub collateral_amount: Option<Decimal>,
pub level_of_detail: Option<String>,
pub serial_number: Option<Decimal>,
pub delivery_type: Option<Decimal>,
pub commodity_type: Option<String>,
pub fineness: Option<Decimal>,
pub weight: Option<Decimal>,
}Expand description
Open stock-loan/borrow contract.
Mirrors the ibflex SLBOpenContract element; all attributes are optional as IB may
omit any of them.
Fields§
§account_id: Option<String>accountId
acct_alias: Option<String>acctAlias
model: Option<String>model
currency: Option<String>currency
fx_rate_to_base: Option<Decimal>fxRateToBase
description: Option<String>description
conid: Option<String>conid
security_id: Option<String>securityID
cusip: Option<String>cusip
isin: Option<String>isin
asset_category: Option<String>assetCategory
sub_category: Option<String>subCategory
symbol: Option<String>symbol
security_id_type: Option<String>securityIDType
figi: Option<String>figi
listing_exchange: Option<String>listingExchange
underlying_conid: Option<String>underlyingConid
underlying_symbol: Option<String>underlyingSymbol
underlying_security_id: Option<String>underlyingSecurityID
underlying_listing_exchange: Option<String>underlyingListingExchange
issuer: Option<String>issuer
issuer_country_code: Option<String>issuerCountryCode
multiplier: Option<Decimal>multiplier
strike: Option<Decimal>strike
expiry: Option<NaiveDate>expiry
put_call: Option<PutCall>putCall
principal_adjust_factor: Option<Decimal>principalAdjustFactor
date: Option<NaiveDate>date
type: Option<String>type
slb_transaction_id: Option<String>slbTransactionId
exchange: Option<String>exchange
quantity: Option<Decimal>quantity
excess_quantity: Option<Decimal>excessQuantity
fee_rate: Option<Decimal>feeRate
collateral_amount: Option<Decimal>collateralAmount
level_of_detail: Option<String>levelOfDetail
serial_number: Option<Decimal>serialNumber
delivery_type: Option<Decimal>deliveryType
commodity_type: Option<String>commodityType
fineness: Option<Decimal>fineness
weight: Option<Decimal>weight
Trait Implementations§
Source§impl Clone for SLBOpenContract
impl Clone for SLBOpenContract
Source§fn clone(&self) -> SLBOpenContract
fn clone(&self) -> SLBOpenContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SLBOpenContract
impl Debug for SLBOpenContract
Source§impl<'de> Deserialize<'de> for SLBOpenContract
impl<'de> Deserialize<'de> for SLBOpenContract
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 SLBOpenContract
impl PartialEq for SLBOpenContract
Source§fn eq(&self, other: &SLBOpenContract) -> bool
fn eq(&self, other: &SLBOpenContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SLBOpenContract
impl Serialize for SLBOpenContract
impl StructuralPartialEq for SLBOpenContract
Auto Trait Implementations§
impl Freeze for SLBOpenContract
impl RefUnwindSafe for SLBOpenContract
impl Send for SLBOpenContract
impl Sync for SLBOpenContract
impl Unpin for SLBOpenContract
impl UnsafeUnpin for SLBOpenContract
impl UnwindSafe for SLBOpenContract
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