[−][src]Trait postgres_types::BorrowToSql
A trait used by clients to abstract over &dyn ToSql and T: ToSql.
This cannot be implemented outside of this crate.
Required methods
pub 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]
pub fn borrow_to_sql(&self) -> &dyn ToSql[src]
impl<T> BorrowToSql for T where
T: ToSql, [src]
T: ToSql,