pub trait HasRawValue<'a> {
    type RawValue;
}
Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
Expand description

The raw representation of a database value given to FromSql.

This trait is separate from Backend to imitate type RawValue<'a>. It should only be referenced directly by implementors. Users of this type should instead use the RawValue helper type instead.

Required Associated Types§

source

type RawValue

The actual type given to FromSql, with lifetimes applied. This type should not be used directly. Use the RawValue helper type instead.

Implementors§

source§

impl<'a> HasRawValue<'a> for Mysql

Available on crate feature mysql_backend only.
source§

impl<'a> HasRawValue<'a> for Pg

Available on crate feature postgres_backend only.
§

type RawValue = PgValue<'a>

source§

impl<'a> HasRawValue<'a> for Sqlite

Available on crate feature sqlite only.
§

type RawValue = SqliteValue<'a, 'a, 'a>