Expand description
Serde de/serialization helpers. To use one of these helpers, use the with
serde attribute: #[serde(with = "serde_helpers::foo")]
Modulesยง
- as_
debug - serialize a
T: Debug
- as_
string - de/serialize a
T: Display + FromStr
- base64_
vec - de/serialize a
Vec<u8>
to/from a base64 encoded string. - opt_
base64_ json - de/serialize an
Option<T>
(whereT
implements is de/serializable) to/from abase64
encoded string containing a JSON payload. Make sure to also specify#[serde(default)]
. - opt_
base64_ vec - opt_
guid_ str - de/serialize an
Option<Guid>
to/from a possibly-missing GUID string. Make sure to also specify#[serde(default)]
. - vec_
base64_ vec