Skip to main content

Module copy

Module copy 

Source
Expand description

Postgres COPY ... FROM STDIN text-format serialization.

Macrosยง

copy_field_float ๐Ÿ”’
copy_field_int ๐Ÿ”’

Structsยง

CopyRow
Encodes rows in Postgres COPY ... FROM STDIN text format.

Traitsยง

CopyField
A value encodable as a COPY text-format field.
CopyInsert
A row type that can stream itself into a Postgres COPY ... FROM STDIN text sink.

Functionsยง

encode_display ๐Ÿ”’
encode_text ๐Ÿ”’
to_json
Serialize a value to a JSON serde_json::Value, falling back to Null on error.