pub struct SecdefInfo { /* private fields */ }
Implementations§
Source§impl SecdefInfo
impl SecdefInfo
Sourcepub fn new() -> SecdefInfo
pub fn new() -> SecdefInfo
Contains some basic info of contract
pub fn set_conid(&mut self, conid: f32)
pub fn with_conid(self, conid: f32) -> SecdefInfo
pub fn conid(&self) -> Option<&f32>
pub fn reset_conid(&mut self)
pub fn set_coupon(&mut self, coupon: String)
pub fn with_coupon(self, coupon: String) -> SecdefInfo
pub fn coupon(&self) -> Option<&String>
pub fn reset_coupon(&mut self)
pub fn set_currency(&mut self, currency: String)
pub fn with_currency(self, currency: String) -> SecdefInfo
pub fn currency(&self) -> Option<&String>
pub fn reset_currency(&mut self)
pub fn set_cusip(&mut self, cusip: String)
pub fn with_cusip(self, cusip: String) -> SecdefInfo
pub fn cusip(&self) -> Option<&String>
pub fn reset_cusip(&mut self)
pub fn set_desc1(&mut self, desc1: String)
pub fn with_desc1(self, desc1: String) -> SecdefInfo
pub fn desc1(&self) -> Option<&String>
pub fn reset_desc1(&mut self)
pub fn set_desc2(&mut self, desc2: String)
pub fn with_desc2(self, desc2: String) -> SecdefInfo
pub fn desc2(&self) -> Option<&String>
pub fn reset_desc2(&mut self)
pub fn set_exchange(&mut self, exchange: String)
pub fn with_exchange(self, exchange: String) -> SecdefInfo
pub fn exchange(&self) -> Option<&String>
pub fn reset_exchange(&mut self)
pub fn set_listing_exchange(&mut self, listing_exchange: String)
pub fn with_listing_exchange(self, listing_exchange: String) -> SecdefInfo
pub fn listing_exchange(&self) -> Option<&String>
pub fn reset_listing_exchange(&mut self)
pub fn set_maturity_date(&mut self, maturity_date: String)
pub fn with_maturity_date(self, maturity_date: String) -> SecdefInfo
pub fn maturity_date(&self) -> Option<&String>
pub fn reset_maturity_date(&mut self)
pub fn set_multiplier(&mut self, multiplier: String)
pub fn with_multiplier(self, multiplier: String) -> SecdefInfo
pub fn multiplier(&self) -> Option<&String>
pub fn reset_multiplier(&mut self)
pub fn set_right(&mut self, right: String)
pub fn with_right(self, right: String) -> SecdefInfo
pub fn right(&self) -> Option<&String>
pub fn reset_right(&mut self)
pub fn set_sec_type(&mut self, sec_type: String)
pub fn with_sec_type(self, sec_type: String) -> SecdefInfo
pub fn sec_type(&self) -> Option<&String>
pub fn reset_sec_type(&mut self)
pub fn set_strike(&mut self, strike: String)
pub fn with_strike(self, strike: String) -> SecdefInfo
pub fn strike(&self) -> Option<&String>
pub fn reset_strike(&mut self)
pub fn set_symbol(&mut self, symbol: String)
pub fn with_symbol(self, symbol: String) -> SecdefInfo
pub fn symbol(&self) -> Option<&String>
pub fn reset_symbol(&mut self)
pub fn set_trading_class(&mut self, trading_class: String)
pub fn with_trading_class(self, trading_class: String) -> SecdefInfo
pub fn trading_class(&self) -> Option<&String>
pub fn reset_trading_class(&mut self)
pub fn set_valid_exchanges(&mut self, valid_exchanges: String)
pub fn with_valid_exchanges(self, valid_exchanges: String) -> SecdefInfo
pub fn valid_exchanges(&self) -> Option<&String>
pub fn reset_valid_exchanges(&mut self)
Trait Implementations§
Source§impl Debug for SecdefInfo
impl Debug for SecdefInfo
Source§impl<'de> Deserialize<'de> for SecdefInfo
impl<'de> Deserialize<'de> for SecdefInfo
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
Auto Trait Implementations§
impl Freeze for SecdefInfo
impl RefUnwindSafe for SecdefInfo
impl Send for SecdefInfo
impl Sync for SecdefInfo
impl Unpin for SecdefInfo
impl UnwindSafe for SecdefInfo
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