-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
JamieTsai1024 has created PR #566: Rust 1748 Add serde_conv macro for object_id::AsHexString and object_id::FromHexString in bson-rust
Issue Text:
- Add custom `serde_conv` macro, `my_serde_conv`, to:
1. Support rustdoc documentation for structs
2. Support serializers that may fail by wrapping the return type for `serialize` in a `Result` - Original implementation assumes that serialization cannot fail
- Refactor full struct `(de)serialize_as` implementations to use `my_serde_conv` macro
- `object_id::AsHexString`
- `object_id::FromHexString`
- duplicates
-
RUST-1748 Convert serde helpers to serde_with::(De)SerializeAs implementations
-
- In Code Review
-