Skip to main content

sample_config_from_nested

Function sample_config_from_nested 

Source
pub(crate) fn sample_config_from_nested(nested: NestedConfig) -> SampleConfig
Expand description

Converts the nested dashboard configuration into archiver runtime config.

Calibration keys are parsed with parse_calibrations; max_channels and the unused sensor fields are dropped.

ยงArguments

  • nested - Configuration as deserialized from the KV entry.