Module string_as_float_opt

Module string_as_float_opt 

Source
Expand description

Module for handling the conversion between string and optional float values

This module provides serialization and deserialization functions for converting between Option<f64> and string representations used in the IG Markets API.

Functionsยง

deserialize
Deserializes a string representation to an optional float value
serialize
Serializes an optional float value to its string representation