Trait postgres_types::BorrowToSql [−][src]
A trait used by clients to abstract over &dyn ToSql and T: ToSql.
This cannot be implemented outside of this crate.
Required methods
fn borrow_to_sql(&self) -> &dyn ToSql[src]
Returns a reference to self as a ToSql trait object.
Implementors
impl BorrowToSql for &dyn ToSql[src]
fn borrow_to_sql(&self) -> &dyn ToSql[src]
impl<T> BorrowToSql for T where
T: ToSql, [src]
T: ToSql,