Struct tdameritrade_rust::OptionChainParams
source · pub struct OptionChainParams { /* private fields */ }
Expand description
Builder for OptionChain
.
Implementations§
source§impl OptionChainParams
impl OptionChainParams
pub fn symbol<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn contract_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn strike_count<VALUE: Into<i64>>(&mut self, value: VALUE) -> &mut Self
pub fn include_quotes<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn strategy<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn interval<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn strike<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn range<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn from_date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn to_date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn volatility<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn underlying_price<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn interest_rate<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn days_to_expiration<VALUE: Into<i64>>( &mut self, value: VALUE ) -> &mut Self
pub fn expiration_month<VALUE: Into<String>>( &mut self, value: VALUE ) -> &mut Self
pub fn option_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
source§impl Clone for OptionChainParams
impl Clone for OptionChainParams
source§fn clone(&self) -> OptionChainParams
fn clone(&self) -> OptionChainParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for OptionChainParams
impl Send for OptionChainParams
impl Sync for OptionChainParams
impl Unpin for OptionChainParams
impl UnwindSafe for OptionChainParams
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