pub struct OptionChainInput<'a> {
pub owner_symbol: &'a str,
pub begin_time: &'a str,
pub end_time: &'a str,
pub option_type_str: Option<&'a str>,
pub data_filter: Option<DataFilter>,
}Expand description
期权链(看涨/看跌合约列表)。
owner_symbol: 正股(如HK.00700/US.AAPL)begin_time/end_time: 到期日范围,格式YYYY-MM-DDoption_type_str: “all” / “call” / “put”data_filter: v1.4.38 Phase 3 新增,Greek server-side filter;None→ v1.4.37 行为
Fields§
§owner_symbol: &'a str§begin_time: &'a str§end_time: &'a str§option_type_str: Option<&'a str>§data_filter: Option<DataFilter>Auto Trait Implementations§
impl<'a> Freeze for OptionChainInput<'a>
impl<'a> RefUnwindSafe for OptionChainInput<'a>
impl<'a> Send for OptionChainInput<'a>
impl<'a> Sync for OptionChainInput<'a>
impl<'a> Unpin for OptionChainInput<'a>
impl<'a> UnsafeUnpin for OptionChainInput<'a>
impl<'a> UnwindSafe for OptionChainInput<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more