struct RehabOut {Show 15 fields
time: String,
fwd_factor_a: f64,
fwd_factor_b: f64,
bwd_factor_a: f64,
bwd_factor_b: f64,
company_act_flag: i64,
dividend: Option<f64>,
sp_dividend: Option<f64>,
bonus_base: Option<i32>,
bonus_ert: Option<i32>,
transfer_base: Option<i32>,
transfer_ert: Option<i32>,
allot_base: Option<i32>,
allot_ert: Option<i32>,
allot_price: Option<f64>,
}Fields§
§time: String§fwd_factor_a: f64前复权因子 A / B(长期 K 线按前复权对齐价格用)
fwd_factor_b: f64§bwd_factor_a: f64后复权因子 A / B
bwd_factor_b: f64§company_act_flag: i64公司行动组合标志位(按位标记送股、配股、分红、转增等事件是否发生)
dividend: Option<f64>常见事件参数(None 表示当次无此事件)
sp_dividend: Option<f64>§bonus_base: Option<i32>§bonus_ert: Option<i32>§transfer_base: Option<i32>§transfer_ert: Option<i32>§allot_base: Option<i32>§allot_ert: Option<i32>§allot_price: Option<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RehabOut
impl RefUnwindSafe for RehabOut
impl Send for RehabOut
impl Sync for RehabOut
impl Unpin for RehabOut
impl UnsafeUnpin for RehabOut
impl UnwindSafe for RehabOut
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