pub trait Encode {
// Required method
fn encode(self, buf: &mut PgArgumentBuffer) -> Result<IsNull, Error>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Encode for BigDecimal
§Panics
If this BigDecimal cannot be represented by PgNumeric.
impl Encode for BigDecimal
§Panics
If this BigDecimal cannot be represented by PgNumeric.