pub fn hex_to_id(hex: &str) -> ObjectId
Convert a hexadecimal hash into its corresponding ObjectId or panic.
ObjectId