Struct sqlx_oldapi::any::AnyValueRef
source · pub struct AnyValueRef<'r> { /* private fields */ }
Trait Implementations§
source§impl<'r> From<MssqlValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<MssqlValueRef<'r>> for AnyValueRef<'r>
source§fn from(value: MssqlValueRef<'r>) -> AnyValueRef<'r>
fn from(value: MssqlValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
source§impl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<MySqlValueRef<'r>> for AnyValueRef<'r>
source§fn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
fn from(value: MySqlValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
source§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> From<SqliteValueRef<'r>> for AnyValueRef<'r>
impl<'r> From<SqliteValueRef<'r>> for AnyValueRef<'r>
source§fn from(value: SqliteValueRef<'r>) -> AnyValueRef<'r>
fn from(value: SqliteValueRef<'r>) -> AnyValueRef<'r>
Converts to this type from the input type.
source§impl<'r> ValueRef<'r> for AnyValueRef<'r>
impl<'r> ValueRef<'r> for AnyValueRef<'r>
Auto Trait Implementations§
impl<'r> Freeze for AnyValueRef<'r>
impl<'r> RefUnwindSafe for AnyValueRef<'r>
impl<'r> Send for AnyValueRef<'r>
impl<'r> Sync for AnyValueRef<'r>
impl<'r> Unpin for AnyValueRef<'r>
impl<'r> UnwindSafe for AnyValueRef<'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