pub struct FinanceRecord {
pub file_type: FileType,
pub report_date: BjDateTime,
pub announce_date: BjDateTime,
pub data: FinanceData,
}Expand description
一条财务记录。
每条记录都包含财务文件类型、报告日期、公告日期,以及对应的 typed 数据载荷。
Fields§
§file_type: FileType当前记录对应的财务文件类型。
report_date: BjDateTime报告期日期。
announce_date: BjDateTime公告日期。
data: FinanceData具体数据载荷。
Implementations§
Source§impl FinanceRecord
impl FinanceRecord
Sourcepub fn column_names(&self) -> Option<&'static [&'static str]>
pub fn column_names(&self) -> Option<&'static [&'static str]>
返回当前记录对应的结构化列名。
仅对 Report 和 Ratios 类型返回值。
Trait Implementations§
Source§impl Clone for FinanceRecord
impl Clone for FinanceRecord
Source§fn clone(&self) -> FinanceRecord
fn clone(&self) -> FinanceRecord
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 FinanceRecord
impl RefUnwindSafe for FinanceRecord
impl Send for FinanceRecord
impl Sync for FinanceRecord
impl Unpin for FinanceRecord
impl UnsafeUnpin for FinanceRecord
impl UnwindSafe for FinanceRecord
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