pub fn serialize<S: Serializer, T: TomlDateTimeSerde>(
value: &T,
serializer: S,
) -> Result<S::Ok, S::Error>
Expand description
Function that can be used with
#[serde(serialize_with="toml_datetime_compat::serialize")]
pub fn serialize<S: Serializer, T: TomlDateTimeSerde>(
value: &T,
serializer: S,
) -> Result<S::Ok, S::Error>
Function that can be used with
#[serde(serialize_with="toml_datetime_compat::serialize")]