pub struct DividendRecord {
pub ex_dividend_date: NaiveDate,
pub record_date: Option<NaiveDate>,
pub interest: f64,
pub stock_bonus: f64,
pub stock_gift: f64,
pub allot_num: f64,
pub allot_price: f64,
pub gugai: f64,
pub unknown64_raw: f64,
pub adjust_factor: f64,
pub timestamp_raw: i64,
}Expand description
单条除权除息记录。
Fields§
§ex_dividend_date: NaiveDate除权除息日。
record_date: Option<NaiveDate>股权登记日。
interest: f64每股现金红利。
stock_bonus: f64每股送股。
stock_gift: f64每股转赠。
allot_num: f64配股数量。
allot_price: f64配股价格。
gugai: f64股改相关值,当前仍保留原始含义。
unknown64_raw: f64当前版本存在但语义未完全确认的额外槽位。
adjust_factor: f64复权系数。
timestamp_raw: i64Value 中记录的原始时间戳。
Trait Implementations§
Source§impl Clone for DividendRecord
impl Clone for DividendRecord
Source§fn clone(&self) -> DividendRecord
fn clone(&self) -> DividendRecord
Returns a duplicate 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 Freeze for DividendRecord
impl RefUnwindSafe for DividendRecord
impl Send for DividendRecord
impl Sync for DividendRecord
impl Unpin for DividendRecord
impl UnsafeUnpin for DividendRecord
impl UnwindSafe for DividendRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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