pub fn set_query_field(
    query_data: impl AsRef<str>,
    field_name: impl AsRef<str>,
    value: impl AsRef<str>
) -> String
Expand description

Sets the value of a field in the query data.

Returns the new query data.

This functions maintains an alphabetical ordering of the keys in order to guarantee a consistent result when separate fields are set out of order. This is to maintain convergence for our OT algorithm.