pub trait HasValueRef<'r> {
type Database: Database;
type ValueRef: ValueRef<'r, Database = Self::Database>;
}Expand description
Associate Database with a ValueRef of a generic lifetime.
The upcoming Rust feature, Generic Associated Types, should obviate the need for this trait.
Required Associated Types§
Implementors§
Source§impl<'r> HasValueRef<'r> for Any
Available on (crate features postgres or mysql or mssql or sqlite or odbc) and crate feature any only.
impl<'r> HasValueRef<'r> for Any
Available on (crate features
postgres or mysql or mssql or sqlite or odbc) and crate feature any only.Source§impl<'r> HasValueRef<'r> for Mssql
Available on crate feature mssql only.
impl<'r> HasValueRef<'r> for Mssql
Available on crate feature
mssql only.Source§impl<'r> HasValueRef<'r> for MySql
Available on crate feature mysql only.
impl<'r> HasValueRef<'r> for MySql
Available on crate feature
mysql only.Source§impl<'r> HasValueRef<'r> for Odbc
Available on crate feature odbc only.
impl<'r> HasValueRef<'r> for Odbc
Available on crate feature
odbc only.Source§impl<'r> HasValueRef<'r> for Postgres
Available on crate feature postgres only.
impl<'r> HasValueRef<'r> for Postgres
Available on crate feature
postgres only.