Struct sqlx_core::mysql::MySqlValue
source · pub struct MySqlValue { /* private fields */ }
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) -> Self
fn from(value: MySqlValue) -> Self
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<'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