Function bson::serde_helpers::hex_string_as_object_id::serialize [−][src]
pub fn serialize<S: Serializer>(
val: &str,
serializer: S
) -> Result<S::Ok, S::Error>
Expand description
Serializes a hex string as an ObjectId.