pub fn stress_level_message() -> MessageInfo {
    let mut fields = HashMap::new();
    let field = FieldInfo {
        name: "stress_level_value",
        field_type: FieldDataType::SInt16,
        def_number: 0,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(0, field);
    // Time stress score was calculated
    let field = FieldInfo {
        name: "stress_level_time",
        field_type: FieldDataType::DateTime,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "s",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    MessageInfo {
        name: "stress_level",
        global_message_number: MesgNum::StressLevel,
        fields,
    }
}
/// Value from 1 to 100 calculated by FirstBeat
Value from 1 to 100 calculated by FirstBeat
Value from 1 to 100 calculated by FirstBeat
pub fn stress_level_message() -> MessageInfo {
    let mut fields = HashMap::new();
    let field = FieldInfo {
        name: "stress_level_value",
        field_type: FieldDataType::SInt16,
        def_number: 0,
        scale: 1.000000,
        offset: 0.000000,
        units: "",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(0, field);
    // Time stress score was calculated
    let field = FieldInfo {
        name: "stress_level_time",
        field_type: FieldDataType::DateTime,
        def_number: 1,
        scale: 1.000000,
        offset: 0.000000,
        units: "s",
        accumulate: false,
        subfields: Vec::new(),
        components: Vec::new(),
    };
    fields.insert(1, field);
    MessageInfo {
        name: "stress_level",
        global_message_number: MesgNum::StressLevel,
        fields,
    }
}
pub fn stress_level_message ( ) -> MessageInfo { let mut fields = HashMap :: new ( ) ; let field = FieldInfo { name : " " , field_type : FieldDataType :: SInt16 , def_number : 0 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 0 , field ) ; // Time stress score was calculated let field = FieldInfo { name : " " , field_type : FieldDataType :: DateTime , def_number : 1 , scale : 1.000000 , offset : 0.000000 , units : " " , accumulate : false , subfields : Vec :: new ( ) , components : Vec :: new ( ) , } ; fields . insert ( 1 , field ) ; MessageInfo { name : " " , global_message_number : MesgNum :: StressLevel , fields , } }
Value from 1 to 100 calculated by FirstBeat
Value from 1 to 100 calculated by FirstBeat