Struct sqlx_models_orm::PgValue
[−]pub struct PgValue { /* private fields */ }
Expand description
Implementation of [Value
] for PostgreSQL.
Trait Implementations
impl Value for PgValue
impl Value for PgValue
type Database = Postgres
fn as_ref(&self) -> PgValueRef<'_>
fn as_ref(&self) -> PgValueRef<'_>
Get this value as a reference.
fn type_info(&self) -> Cow<'_, PgTypeInfo>
fn type_info(&self) -> Cow<'_, PgTypeInfo>
Get the type information for this value.
fn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn decode<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
fn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database>,
fn decode_unchecked<'r, T>(&'r self) -> T where
T: Decode<'r, Self::Database>,
Decode this single value into the requested type. Read more
fn try_decode<'r, T>(&'r self) -> Result<T, Error> where
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn try_decode<'r, T>(&'r self) -> Result<T, Error> where
T: Decode<'r, Self::Database> + Type<Self::Database>,
Decode this single value into the requested type. Read more
fn try_decode_unchecked<'r, T>(&'r self) -> Result<T, Error> where
T: Decode<'r, Self::Database>,
fn try_decode_unchecked<'r, T>(&'r self) -> Result<T, Error> where
T: Decode<'r, Self::Database>,
Decode this single value into the requested type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PgValue
impl Send for PgValue
impl Sync for PgValue
impl Unpin for PgValue
impl UnwindSafe for PgValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more