mongodb
pub fn to_bson<T>(value: &T) -> Result<Bson, EncoderError> where T: Serialize + ?Sized,
Encode a T Serializable into a BSON Value.
T
Value