Function bson::serde_helpers::serialize_hex_string_as_object_id
source · pub fn serialize_hex_string_as_object_id<S: Serializer>(
val: &str,
serializer: S
) -> Result<S::Ok, S::Error>
Expand description
Serializes a hex string as an ObjectId.