Module string_as_bool_opt

Source
Expand description

Module for handling the conversion between string and optional boolean values

This module provides serialization and deserialization functions for converting between Option<bool> and string representations (“0” and “1”) used in the IG Markets API.

Functions§

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