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 dashboard JSON shape into the runtime sampling configuration.

Copies the used fields and drops max_channels, gains, data_formats and measurement_units.

ยงArguments

  • nested - Parsed KV document.