Skip to main content

Postgres

Struct Postgres 

Source
pub struct Postgres<E>(/* private fields */);
Available on crate features database and postgres only.
Expand description

Postgres

Trait Implementations§

Source§

impl<E> DEController for Postgres<E>
where E: From<Error>,

Source§

type DecodeWrapper<'inner, 'outer, 'rem> = DecodeWrapper<'inner, 'rem> where 'inner: 'outer

Decode wrapper
Source§

type Error = E

Error
Source§

type EncodeWrapper<'inner, 'outer, 'rem> = EncodeWrapper<'inner, 'outer> where 'inner: 'outer

Encode wrapper
Source§

impl<E> Database for Postgres<E>
where E: From<Error>,

Source§

const TY: DatabaseTy = DatabaseTy::Postgres

Source§

type Record<'exec> = PostgresRecord<'exec, E>

See Record.
Source§

type Records<'exec> = PostgresRecords<'exec, E>

See Records.
Source§

type Ty = Ty

All database types
Source§

impl<E> Debug for Postgres<E>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<E, L, const N: usize> Decode<'_, Postgres<E>> for ArrayString<L, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E, L, const N: usize> Decode<'_, Postgres<E>> for ArrayVector<L, u8, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for Date
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for DateTime<Utc>
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for Decimal
where E: From<Error>,

Available on crate feature rust_decimal only.
Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for String
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for bool
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for f32
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for f64
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for i16
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for i32
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for i64
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for i8
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for u16
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for u32
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for u64
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Decode<'_, Postgres<E>> for u8
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'_, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'de, E, T> Decode<'de, Postgres<E>> for Json<T>
where E: From<Error>, T: Deserialize<'de>,

Available on crate feature serde_json only.
Source§

fn decode(input: &mut DecodeWrapper<'de, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'de, E> Decode<'de, Postgres<E>> for Uuid
where E: From<Error>,

Available on crate feature uuid only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'de, ERR> Decode<'de, Postgres<ERR>> for ()
where ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, ERR> Decode<'de, Postgres<ERR>> for (A,)
where A: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, ERR> Decode<'de, Postgres<ERR>> for (A, B)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, ERR> Decode<'de, Postgres<ERR>> for (A, B, C)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, AB: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, AB: Decode<'de, Postgres<ERR>>, AC: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, AB: Decode<'de, Postgres<ERR>>, AC: Decode<'de, Postgres<ERR>>, AD: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, AB: Decode<'de, Postgres<ERR>>, AC: Decode<'de, Postgres<ERR>>, AD: Decode<'de, Postgres<ERR>>, AE: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, ERR> Decode<'de, Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)
where A: Decode<'de, Postgres<ERR>>, B: Decode<'de, Postgres<ERR>>, C: Decode<'de, Postgres<ERR>>, D: Decode<'de, Postgres<ERR>>, E: Decode<'de, Postgres<ERR>>, F: Decode<'de, Postgres<ERR>>, G: Decode<'de, Postgres<ERR>>, H: Decode<'de, Postgres<ERR>>, I: Decode<'de, Postgres<ERR>>, J: Decode<'de, Postgres<ERR>>, K: Decode<'de, Postgres<ERR>>, L: Decode<'de, Postgres<ERR>>, M: Decode<'de, Postgres<ERR>>, N: Decode<'de, Postgres<ERR>>, O: Decode<'de, Postgres<ERR>>, P: Decode<'de, Postgres<ERR>>, Q: Decode<'de, Postgres<ERR>>, R: Decode<'de, Postgres<ERR>>, S: Decode<'de, Postgres<ERR>>, T: Decode<'de, Postgres<ERR>>, U: Decode<'de, Postgres<ERR>>, V: Decode<'de, Postgres<ERR>>, W: Decode<'de, Postgres<ERR>>, X: Decode<'de, Postgres<ERR>>, Y: Decode<'de, Postgres<ERR>>, Z: Decode<'de, Postgres<ERR>>, AA: Decode<'de, Postgres<ERR>>, AB: Decode<'de, Postgres<ERR>>, AC: Decode<'de, Postgres<ERR>>, AD: Decode<'de, Postgres<ERR>>, AE: Decode<'de, Postgres<ERR>>, AF: Decode<'de, Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn decode(dw: &mut DecodeWrapper<'de, '_>) -> Result<Self, ERR>

Performs the conversion.
Source§

impl<'exec, E> Decode<'exec, Postgres<E>> for &'exec [u8]
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'exec, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'exec, E> Decode<'exec, Postgres<E>> for &'exec str
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'exec, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'exec, E> Decode<'exec, Postgres<E>> for IpAddr
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'exec, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'exec, E> Decode<'exec, Postgres<E>> for Ipv4Addr
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'exec, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<'exec, E> Decode<'exec, Postgres<E>> for Ipv6Addr
where E: From<Error>,

Source§

fn decode(dw: &mut DecodeWrapper<'exec, '_>) -> Result<Self, E>

Performs the conversion.
Source§

impl<E> Default for Postgres<E>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<E> Encode<Postgres<E>> for &[u8]
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for &str
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Arguments<'_>
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E, L, const N: usize> Encode<Postgres<E>> for ArrayString<L, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E, L, const N: usize> Encode<Postgres<E>> for ArrayVector<L, u8, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Date
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for DateTime<Utc>
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Decimal
where E: From<Error>,

Available on crate feature rust_decimal only.
Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for IpAddr
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Ipv4Addr
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Ipv6Addr
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E, T> Encode<Postgres<E>> for Json<T>
where E: From<Error>, T: Serialize,

Available on crate feature serde_json only.
Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for String
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for Uuid
where E: From<Error>,

Available on crate feature uuid only.
Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for bool
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for f32
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for f64
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for i16
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for i32
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for i64
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for i8
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for str
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for u16
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for u32
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for u64
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<E> Encode<Postgres<E>> for u8
where E: From<Error>,

Source§

fn encode(&self, ew: &mut EncodeWrapper<'_, '_>) -> Result<(), E>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<ERR> Encode<Postgres<ERR>> for ()
where ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, ERR> Encode<Postgres<ERR>> for (A,)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, ERR> Encode<Postgres<ERR>> for (A, B)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, ERR> Encode<Postgres<ERR>> for (A, B, C)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, ERR> Encode<Postgres<ERR>> for (A, B, C, D)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AB: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AB: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AC: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AB: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AC: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AD: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AB: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AC: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AD: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AE: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, ERR> Encode<Postgres<ERR>> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)
where A: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, B: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, C: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, D: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, E: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, F: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, G: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, H: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, I: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, J: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, K: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, L: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, M: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, N: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, O: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, P: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Q: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, R: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, S: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, T: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, U: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, V: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, W: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, X: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Y: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, Z: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AA: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AB: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AC: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AD: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AE: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, AF: Encode<Postgres<ERR>> + Typed<Postgres<ERR>>, ERR: From<Error>,

Available on crate feature 32-tuple-impls only.
Source§

fn encode(&self, _ew: &mut EncodeWrapper<'_, '_>) -> Result<(), ERR>

Performs the conversion.
Source§

fn is_null(&self) -> bool

If this instance can be desired nullable.
Source§

impl<'exec, E, L, const N: usize> FromRecords<'exec, Postgres<E>> for ArrayString<L, N>
where E: From<Error>, L: LinearStorageLen,

Source§

const FIELDS: u16 = 1

The number of fields
Source§

const ID_IDX: Option<usize> = None

Where the ID is located, if any.
Source§

type IdTy = ()

The type of the ID. Read more
Source§

fn from_records( curr_params: &mut FromRecordsParams<PostgresRecord<'exec, E>>, _: &PostgresRecords<'_, E>, ) -> Result<Self, E>

Used by implementations. Constructs a single instance based on an arbitrary number of rows. Read more
Source§

fn many( records: &D::Records<'exec>, ) -> impl Iterator<Item = Result<Self, D::Error>>

Used by consumers of this trait. Expects that one or more records can represent zero or more entities.
Source§

fn single(records: &D::Records<'exec>) -> Result<Self, D::Error>

Used by consumers of this trait. Expects that one or more records can represent a single entity.
Source§

impl<'exec, E> FromRecords<'exec, Postgres<E>> for DbMigration
where E: From<Error>,

Available on crate feature schema-manager only.
Source§

const FIELDS: u16 = 8

The number of fields
Source§

const ID_IDX: Option<usize> = None

Where the ID is located, if any.
Source§

type IdTy = ()

The type of the ID. Read more
Source§

fn from_records( curr_params: &mut FromRecordsParams<PostgresRecord<'exec, E>>, _: &PostgresRecords<'exec, E>, ) -> Result<Self, E>

Used by implementations. Constructs a single instance based on an arbitrary number of rows. Read more
Source§

fn many( records: &D::Records<'exec>, ) -> impl Iterator<Item = Result<Self, D::Error>>

Used by consumers of this trait. Expects that one or more records can represent zero or more entities.
Source§

fn single(records: &D::Records<'exec>) -> Result<Self, D::Error>

Used by consumers of this trait. Expects that one or more records can represent a single entity.
Source§

impl<E> Typed<Postgres<E>> for &[u8]
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for &str
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Arguments<'_>
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E, L, const N: usize> Typed<Postgres<E>> for ArrayString<L, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E, L, const N: usize> Typed<Postgres<E>> for ArrayVector<L, u8, N>
where E: From<Error>, L: LinearStorageLen,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Date
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for DateTime<Utc>
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Decimal
where E: From<Error>,

Available on crate feature rust_decimal only.
Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for IpAddr
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Ipv4Addr
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Ipv6Addr
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E, T> Typed<Postgres<E>> for Json<T>
where E: From<Error>,

Available on crate feature serde_json only.
Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for String
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for Uuid
where E: From<Error>,

Available on crate feature uuid only.
Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for bool
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for f32
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for f64
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for i16
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for i32
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for i64
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for i8
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for str
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

impl<E> Typed<Postgres<E>> for u16
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for u32
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for u64
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.
Source§

impl<E> Typed<Postgres<E>> for u8
where E: From<Error>,

Source§

fn runtime_ty(&self) -> Option<Ty>

Type that is only known at runtime.
Source§

fn static_ty() -> Option<Ty>

Type that is known at compile time.

Auto Trait Implementations§

§

impl<E> Freeze for Postgres<E>

§

impl<E> RefUnwindSafe for Postgres<E>

§

impl<E> Send for Postgres<E>

§

impl<E> Sync for Postgres<E>

§

impl<E> Unpin for Postgres<E>

§

impl<E> UnwindSafe for Postgres<E>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more