Struct sqlx_oldapi::postgres::PgValueRef
source ยท pub struct PgValueRef<'r> { /* private fields */ }
Available on crate feature
postgres
only.Expand description
Implementation of ValueRef
for PostgreSQL.
Implementationsยง
Trait Implementationsยง
sourceยงimpl<'r> Clone for PgValueRef<'r>
impl<'r> Clone for PgValueRef<'r>
sourceยงfn clone(&self) -> PgValueRef<'r>
fn clone(&self) -> PgValueRef<'r>
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl<'r> From<PgValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<PgValueRef<'r>> for AnyValueRef<'r>
sourceยงfn from(value: PgValueRef<'r>) -> AnyValueRef<'r>
fn from(value: PgValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
sourceยงimpl<'r> ValueRef<'r> for PgValueRef<'r>
impl<'r> ValueRef<'r> for PgValueRef<'r>
Auto Trait Implementationsยง
impl<'r> Freeze for PgValueRef<'r>
impl<'r> RefUnwindSafe for PgValueRef<'r>
impl<'r> Send for PgValueRef<'r>
impl<'r> Sync for PgValueRef<'r>
impl<'r> Unpin for PgValueRef<'r>
impl<'r> UnwindSafe for PgValueRef<'r>
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more