Crate sqlx_serde

Source

Structs§

SerMapPgRow
SerMapPgRow::from(pg_row) will make your row serialize as a map. If you have multiple columns with the same name, the last one will win.
SerPgValueRef
SerPgValueRef::from(pg_value_ref) will make your value serialize as its closest serde type.
SerVecPgRow
SerVecPgRow::from(pg_row) will make your row serialize as a vector.

Functions§

read_header
read_row
serialize_pgrow_as_map
Can be used with serialize_with
serialize_pgrow_as_vec
Can be used with serialize_with
serialize_pgvalueref
Can be used with serialize_with