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