Trait Encode

Source
pub trait Encode {
    // Required method
    fn encode(self, buf: &mut PgArgumentBuffer) -> Result<IsNull, Error>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl Encode for &[u8]

Source§

impl Encode for Value

Source§

impl Encode for bool

Source§

impl Encode for f32

Source§

impl Encode for f64

Source§

impl Encode for i8

Source§

impl Encode for i16

Source§

impl Encode for i32

Source§

impl Encode for i64

Source§

impl Encode for u8

Source§

impl Encode for u16

Source§

impl Encode for u32

Source§

impl Encode for u64

encode

Source§

impl Encode for String

Source§

impl Encode for Vec<Value>

Source§

impl Encode for Vec<u8>

Source§

impl Encode for BigDecimal

§Panics

If this BigDecimal cannot be represented by PgNumeric.

Source§

impl Encode for Date

Source§

impl Encode for Date

Source§

impl Encode for DateTime

Encode to Timestamptz

Source§

impl Encode for Decimal

Source§

impl Encode for Json

Source§

impl Encode for Time

Source§

impl Encode for Timestamp

Source§

impl Encode for Uuid

Implementors§