pub struct OptionVolatilityArgs {
pub(crate) symbol: String,
pub(crate) query_time_period: Option<i32>,
pub(crate) hv_time_period: Option<i32>,
}Fields§
§symbol: String期权 MARKET.CODE,如 US.AAPL260116C200000
query_time_period: Option<i32>查询周期:0/不填=月;1=周,2=月,3=季,4=半年,5=年
hv_time_period: Option<i32>标的历史波动率周期,范围 5~250;不传走 C++ 默认 30
Trait Implementations§
Source§impl Args for OptionVolatilityArgs
impl Args for OptionVolatilityArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for OptionVolatilityArgs
impl FromArgMatches for OptionVolatilityArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for OptionVolatilityArgs
impl RefUnwindSafe for OptionVolatilityArgs
impl Send for OptionVolatilityArgs
impl Sync for OptionVolatilityArgs
impl Unpin for OptionVolatilityArgs
impl UnsafeUnpin for OptionVolatilityArgs
impl UnwindSafe for OptionVolatilityArgs
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