xbrlkit 0.1.1

Read SEC XBRL and inline XBRL filings into typed Rust structs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # Ready-made structs
//!
//! Views of a filing that most callers want, already declared:
//!
//! - [`dei`]: the cover page — who filed, what, for which period
//! - [`us_gaap`]: the balance sheet, income statement and cash flow statement
//!
//! They are ordinary `#[derive(FromXbrl)]` structs with no special access to
//! the crate. Read them as examples as much as use them: a struct of your own
//! is declared the same way.

pub mod dei;
pub mod us_gaap;

pub use dei::{DeiInfo, extract_dei};
pub use us_gaap::{
    BalanceSheet, CashFlowStatement, Financials, IncomeStatement, extract_financials,
};