snaggen to RustEnglish · 1 year agoFaster Rust Serializationmo8it.comexternal-linkmessage-square1fedilinkarrow-up114arrow-down11
arrow-up113arrow-down1external-linkFaster Rust Serializationmo8it.comsnaggen to RustEnglish · 1 year agomessage-square1fedilink
minus-squared_k_bo@feddit.delinkfedilinkarrow-up2·edit-21 year ago Therefore, if you want to define Serialize for OffsetDatetime for example, you need to use a wrapper type as a datetime formatter. I think this example is a bit misleading because this specific type is usually (de-)serialized using #[serde(with = "time::serde::whatever")].
I think this example is a bit misleading because this specific type is usually (de-)serialized using
#[serde(with = "time::serde::whatever")]
.