pub trait ToJsonb {
// Required method
fn add_to(self, data_type: &DataType, builder: &mut Builder) -> Result<()>;
}
Expand description
Values that can be converted to JSONB.
This trait is implemented for all scalar reference types.
pub trait ToJsonb {
// Required method
fn add_to(self, data_type: &DataType, builder: &mut Builder) -> Result<()>;
}
Values that can be converted to JSONB.
This trait is implemented for all scalar reference types.