pub trait JsonCodec {
// Required method
fn try_to_bson(self) -> Result<Bson>;
}
Expand description
json convert
Required Methods§
Sourcefn try_to_bson(self) -> Result<Bson>
fn try_to_bson(self) -> Result<Bson>
to an json value
pub trait JsonCodec {
// Required method
fn try_to_bson(self) -> Result<Bson>;
}
json convert
to an json value