Expand description
Responses of getStatsList, getMetaInfo, getStatsData and getStatsDatas.
Field names follow the e-Stat tags in snake case (TABLE_INF is
table_inf, @parentCode is parent_code). Elements that e-Stat sends
as an object when there is one and as an array when there are more are
always a Vec here.
Every struct keeps fields this crate does not know in extra, and
serializing it gives them back.
Structs§
- Annotation
ANNOTATIONelement.- ApiResult
RESULTelement: outcome of the request.- Class
CLASSelement: one item of a dimension, such as an area or a year.- Class
Inf CLASS_INFelement: the dimensions of a table.- Class
InfList CLASS_INF_LISTelement.- Class
Obj CLASS_OBJelement: one dimension and its items.- Code
Name - Name with a code attribute, such as
STAT_NAME(@codeis the government statistics code) orGOV_ORG(@codeis the agency code). - DataInf
DATA_INFelement.- Data
InfList DATA_INF_LISTelement.- Data
List Inf DATALIST_INFelement.- Data
Value VALUEelement: one cell of a table.- Description
DESCRIPTIONelement: explanations of the statistics and classifications.- Explanation
EXPLANATIONelement: explanation of one item.- ListInf
LIST_INFelement: one survey in a survey name list.- Meta
Info - Response of
EstatApi::meta_info(GET_META_INFO). - Metadata
Inf METADATA_INFelement.- Note
NOTEelement: a special character and its meaning.- Result
Inf RESULT_INFelement: position of the returned rows.- Statistical
Data STATISTICAL_DATAelement.- Statistical
Data List STATISTICAL_DATA_LISTelement. Each entry carries the number of its request inrequest_no; usetable,class_infandvaluesto pick one.- Statistics
Name Spec STATISTICS_NAME_SPECelement.- Stats
Data - Response of
EstatApi::stats_data(GET_STATS_DATA). - Stats
Datas - Response of
EstatApi::stats_datas(GET_STATS_DATAS). - Stats
List - Response of
EstatApi::stats_list(GET_STATS_LIST). - Table
Inf TABLE_INFelement: description of one statistical table.- Table
InfList TABLE_INF_LISTelement.- Title
TITLEof a table. e-Stat sends a plain string when the table has no number.- Title
Spec TITLE_SPECelement.