#[non_exhaustive]pub struct DataValue {Show 22 fields
pub tab: Option<String>,
pub cat01: Option<String>,
pub cat02: Option<String>,
pub cat03: Option<String>,
pub cat04: Option<String>,
pub cat05: Option<String>,
pub cat06: Option<String>,
pub cat07: Option<String>,
pub cat08: Option<String>,
pub cat09: Option<String>,
pub cat10: Option<String>,
pub cat11: Option<String>,
pub cat12: Option<String>,
pub cat13: Option<String>,
pub cat14: Option<String>,
pub cat15: Option<String>,
pub area: Option<String>,
pub time: Option<String>,
pub unit: Option<String>,
pub annotation: Option<String>,
pub value: String,
pub extra: Map<String, Value>,
}Expand description
VALUE element: one cell of a table.
The value is a string because e-Stat puts special characters such as
- or X in place of numbers (see DataInf::note). Use
as_f64 for the number.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tab: Option<String>Code of the tabulation item (@tab).
cat01: Option<String>Code of classification 01 (@cat01).
cat02: Option<String>Code of classification 02 (@cat02).
cat03: Option<String>Code of classification 03 (@cat03).
cat04: Option<String>Code of classification 04 (@cat04).
cat05: Option<String>Code of classification 05 (@cat05).
cat06: Option<String>Code of classification 06 (@cat06).
cat07: Option<String>Code of classification 07 (@cat07).
cat08: Option<String>Code of classification 08 (@cat08).
cat09: Option<String>Code of classification 09 (@cat09).
cat10: Option<String>Code of classification 10 (@cat10).
cat11: Option<String>Code of classification 11 (@cat11).
cat12: Option<String>Code of classification 12 (@cat12).
cat13: Option<String>Code of classification 13 (@cat13).
cat14: Option<String>Code of classification 14 (@cat14).
cat15: Option<String>Code of classification 15 (@cat15).
area: Option<String>Area code (@area), such as 13000.
time: Option<String>Time code (@time), such as 2020000000.
unit: Option<String>Unit (@unit), such as 人.
annotation: Option<String>Annotation mark (@annotation); see DataInf::annotation.
value: StringThe value as sent, such as 1289100 or X.
extra: Map<String, Value>Fields this crate does not know yet, kept as received.