Struct sqlx_oldapi::mysql::MySqlValue
source ยท pub struct MySqlValue { /* private fields */ }
Available on crate feature
mysql
only.Expand description
Implementation of Value
for MySQL.
Trait Implementationsยง
sourceยงimpl Clone for MySqlValue
impl Clone for MySqlValue
sourceยงfn clone(&self) -> MySqlValue
fn clone(&self) -> MySqlValue
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 From<MySqlValue> for AnyValue
impl From<MySqlValue> for AnyValue
sourceยงfn from(value: MySqlValue) -> AnyValue
fn from(value: MySqlValue) -> AnyValue
Converts to this type from the input type.
sourceยงimpl Value for MySqlValue
impl Value for MySqlValue
type Database = MySql
sourceยงfn as_ref(&self) -> MySqlValueRef<'_>
fn as_ref(&self) -> MySqlValueRef<'_>
Get this value as a reference.
sourceยงfn type_info(&self) -> Cow<'_, MySqlTypeInfo>
fn type_info(&self) -> Cow<'_, MySqlTypeInfo>
Get the type information for this value.
sourceยงfn decode_unchecked<'r, T>(&'r self) -> T
fn decode_unchecked<'r, T>(&'r self) -> T
Decode this single value into the requested type. Read more
Auto Trait Implementationsยง
impl !Freeze for MySqlValue
impl RefUnwindSafe for MySqlValue
impl Send for MySqlValue
impl Sync for MySqlValue
impl Unpin for MySqlValue
impl UnwindSafe for MySqlValue
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