Trait FromSqlOwned
postgres::types
pub trait FromSqlOwned: for<'a> FromSql<'a> { }
A trait for types which can be created from a Postgres value without borrowing any data.
This is primarily useful for trait bounds on functions.
impl<T> FromSqlOwned for T where T: for<'a> FromSql<'a>,