#[non_exhaustive]pub struct DatasetInf {
pub id: String,
pub dataset_name: Option<String>,
pub narrowing_cond: Option<Map<String, Value>>,
pub public_state: Option<String>,
pub result_inf: ResultInf,
pub table_inf: Option<TableInf>,
pub extra: Map<String, Value>,
}Expand description
DATASET_INF element: a dataset and the table it refers to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringDataset ID (@id). Pass it to StatsDataParams::dataset.
dataset_name: Option<String>Name given when it was registered. Not every dataset has one.
narrowing_cond: Option<Map<String, Value>>Filters, such as CODE_AREA_SELECT or LEVEL_AREA_COND. Only in
RefDataset.
public_state: Option<String>YES when other users can use it.
result_inf: ResultInfNumber of values the filters select, in total_number.
table_inf: Option<TableInf>The table.
extra: Map<String, Value>Fields this crate does not know yet, such as TABLE_EXPLANATION.
Trait Implementations§
Source§impl Clone for DatasetInf
impl Clone for DatasetInf
Source§impl Debug for DatasetInf
impl Debug for DatasetInf
Source§impl<'de> Deserialize<'de> for DatasetInf
impl<'de> Deserialize<'de> for DatasetInf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DatasetInf
impl PartialEq for DatasetInf
Source§impl Serialize for DatasetInf
impl Serialize for DatasetInf
impl StructuralPartialEq for DatasetInf
Auto Trait Implementations§
impl Forget for DatasetInf
impl Freeze for DatasetInf
impl Move for DatasetInf
impl RefUnwindSafe for DatasetInf
impl Send for DatasetInf
impl Sync for DatasetInf
impl Unpin for DatasetInf
impl UnsafeUnpin for DatasetInf
impl UnwindSafe for DatasetInf
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