Trait diesel::backend::HasRawValue

source ·
pub trait HasRawValue<'a> {
    type RawValue;
}
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 Pg

§

type RawValue = PgValue<'a>