record_samples

Function record_samples 

Source
pub fn record_samples(
    record: &Record,
    header: &Header,
    subset: Option<&[&str]>,
) -> Vec<Vec<(String, FormatValue)>>
Expand description

Get sample data from a record for all samples or a subset.

This is the standalone version of Variant::samples() that can be used when you have a borrowed reference to a record (e.g., from a GcCell).