[−][src]Function bson::to_bson
pub fn to_bson<T: ?Sized>(value: &T) -> EncoderResult<Bson> where
T: Serialize, Encode a T Serializable into a BSON Value.
pub fn to_bson<T: ?Sized>(value: &T) -> EncoderResult<Bson> where
T: Serialize, Encode a T Serializable into a BSON Value.