Trait af_postgres::types::BorrowToSql[][src]

pub trait BorrowToSql: Sealed {
    pub fn borrow_to_sql(&self) -> &dyn ToSql;
}

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.

Loading content...

Implementors

impl<'_> BorrowToSql for &'_ (dyn ToSql + '_)[src]

impl<T> BorrowToSql for T where
    T: ToSql
[src]

Loading content...