bson::compat::u2f
pub fn serialize<T, S>(v: &T, s: S) -> Result<S::Ok, S::Error> where T: ToF64, S: Serializer,
Serialize unsigned types to Bson::FloatingPoint
Bson::FloatingPoint