Trait FromRow

Source
pub trait FromRow: TryFrom<Row, Error = Error> { }
Expand description

A trait signaling that a struct may be parsed from a Postgres Row.

This being a new trait allows the exposure of a derive macro for it.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§