pub struct PgValue { /* private fields */ }
Expand description
Implementation of Value
for PostgreSQL.
Trait Implementations§
source§impl Value for PgValue
impl Value for PgValue
type Database = Postgres
source§fn as_ref(&self) -> PgValueRef<'_>
fn as_ref(&self) -> PgValueRef<'_>
Get this value as a reference.
source§fn type_info(&self) -> Cow<'_, PgTypeInfo>
fn type_info(&self) -> Cow<'_, PgTypeInfo>
Get the type information for this value.
source§fn decode<'r, T>(&'r self) -> Twhere
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn decode<'r, T>(&'r self) -> Twhere T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
source§fn decode_unchecked<'r, T>(&'r self) -> Twhere
T: Decode<'r, Self::Database>,
fn decode_unchecked<'r, T>(&'r self) -> Twhere T: Decode<'r, Self::Database>,
Decode this single value into the requested type. Read more