Skip to main content

get_header

Function get_header 

Source
pub fn get_header(
    is_chaos: bool,
    is_multi_origin: bool,
    m_type: MeasurementType,
    is_sessions: bool,
) -> Vec<&'static str>
Expand description

Creates the appropriate CSV header for the results file (based on the measurement type)

§Arguments

  • is_chaos - Whether CHAOS queries are sent
  • is_multi_origin - A boolean that determines whether multiple origins are used
  • m_type - Measurement type performed
  • is_sessions - Whether feed sessions are enabled (–sessions)