Trait JsonCodec

Source
pub trait JsonCodec {
    // Required method
    fn try_to_bson(self) -> Result<Bson>;
}
Expand description

json convert

Required Methods§

Source

fn try_to_bson(self) -> Result<Bson>

to an json value

Implementations on Foreign Types§

Source§

impl<'c> JsonCodec for PgValueRef<'c>

Source§

impl<'c> JsonCodec for SqliteValueRef<'c>

Source§

impl<'r> JsonCodec for MssqlValueRef<'r>

Source§

impl<'r> JsonCodec for MySqlValueRef<'r>

Implementors§